Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009445/0.0009445, allocations: 184.5 kB / 8.138 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.06/1.06, allocations: 221.4 MB / 229.9 MB, free: 3.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008616/0.0008616, allocations: 94.03 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6297/0.6297, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3199/0.9496, allocations: 88.97 MB / 0.5283 GB, free: 52.32 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/1.055, allocations: 82.85 MB / 0.6092 GB, free: 3.457 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/1.509, allocations: 128.4 MB / 0.7346 GB, free: 1.723 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001095/1.509, allocations: 48.72 kB / 0.7347 GB, free: 1.699 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02041/1.53, allocations: 9.281 MB / 0.7437 GB, free: 9.398 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/1.53, allocations: 15.94 kB / 0.7437 GB, free: 9.383 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/1.53, allocations: 149.8 kB / 0.7439 GB, free: 9.238 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/1.532, allocations: 1.585 MB / 0.7454 GB, free: 7.754 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/1.532, allocations: 0 / 0.7454 GB, free: 7.754 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/1.532, allocations: 3.984 kB / 0.7454 GB, free: 7.75 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.782e-05/1.532, allocations: 15.56 kB / 0.7455 GB, free: 7.738 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.188e-05/1.532, allocations: 49.36 kB / 0.7455 GB, free: 7.688 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/1.532, allocations: 0 / 0.7455 GB, free: 7.688 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/1.532, allocations: 0 / 0.7455 GB, free: 7.688 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/1.532, allocations: 0 / 0.7455 GB, free: 7.688 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/1.533, allocations: 0.5601 MB / 0.7461 GB, free: 7.215 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/1.533, allocations: 51.28 kB / 0.7461 GB, free: 7.168 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/1.533, allocations: 20.73 kB / 0.7461 GB, free: 7.148 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/1.533, allocations: 0 / 0.7461 GB, free: 7.148 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.356e-05/1.533, allocations: 59.3 kB / 0.7462 GB, free: 7.082 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/1.533, allocations: 0 / 0.7462 GB, free: 7.082 MB / 0.5109 GB Notification: Performance of matching and sorting (n=5): time 0.0002491/1.533, allocations: 206.2 kB / 0.7464 GB, free: 6.883 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/1.533, allocations: 55.41 kB / 0.7464 GB, free: 6.816 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/1.535, allocations: 1.394 MB / 0.7478 GB, free: 5.637 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/1.535, allocations: 25.7 kB / 0.7478 GB, free: 5.605 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/1.535, allocations: 274 kB / 0.7481 GB, free: 5.395 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/1.535, allocations: 15.25 kB / 0.7481 GB, free: 5.383 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/1.535, allocations: 3.938 kB / 0.7481 GB, free: 5.379 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/1.535, allocations: 310 kB / 0.7484 GB, free: 5.07 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/1.535, allocations: 15.25 kB / 0.7484 GB, free: 5.062 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/1.535, allocations: 20.59 kB / 0.7484 GB, free: 5.039 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.189e-05/1.535, allocations: 17.42 kB / 0.7484 GB, free: 5.027 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.535, allocations: 4 kB / 0.7484 GB, free: 5.023 MB / 0.5109 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002129/1.535, allocations: 220.8 kB / 0.7487 GB, free: 4.809 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/1.535, allocations: 4 kB / 0.7487 GB, free: 4.805 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/1.535, allocations: 3.938 kB / 0.7487 GB, free: 4.801 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/1.535, allocations: 0 / 0.7487 GB, free: 4.801 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/1.535, allocations: 16.12 kB / 0.7487 GB, free: 4.785 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/1.535, allocations: 0 / 0.7487 GB, free: 4.785 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/1.535, allocations: 11.92 kB / 0.7487 GB, free: 4.773 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/1.535, allocations: 2.812 kB / 0.7487 GB, free: 4.773 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/1.535, allocations: 112.9 kB / 0.7488 GB, free: 4.656 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/1.536, allocations: 146 kB / 0.7489 GB, free: 4.512 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/1.536, allocations: 244.9 kB / 0.7492 GB, free: 4.301 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/1.536, allocations: 0 / 0.7492 GB, free: 4.301 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.536, allocations: 4 kB / 0.7492 GB, free: 4.297 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.536, allocations: 0 / 0.7492 GB, free: 4.297 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/1.536, allocations: 0.6009 MB / 0.7498 GB, free: 3.785 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.536, allocations: 4 kB / 0.7498 GB, free: 3.781 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/1.536, allocations: 4 kB / 0.7498 GB, free: 3.777 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/1.536, allocations: 4 kB / 0.7498 GB, free: 3.773 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/1.536, allocations: 0 / 0.7498 GB, free: 3.773 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.536, allocations: 0 / 0.7498 GB, free: 3.773 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.536, allocations: 0 / 0.7498 GB, free: 3.773 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00021/1.537, allocations: 246.5 kB / 0.75 GB, free: 3.52 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003117/1.537, allocations: 0.646 MB / 0.7506 GB, free: 2.863 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/1.537, allocations: 218.4 kB / 0.7508 GB, free: 2.633 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/1.537, allocations: 4.188 kB / 0.7509 GB, free: 2.629 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/1.537, allocations: 4 kB / 0.7509 GB, free: 2.625 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/1.537, allocations: 4 kB / 0.7509 GB, free: 2.621 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/1.537, allocations: 3.984 kB / 0.7509 GB, free: 2.617 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0009859/1.538, allocations: 1.098 MB / 0.7519 GB, free: 1.723 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0008143/1.539, allocations: 51.88 kB / 0.752 GB, free: 1.676 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005688/1.54, allocations: 308.2 kB / 0.7523 GB, free: 1.445 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 8.895e-05/1.54, allocations: 42.55 kB / 0.7523 GB, free: 1.414 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/1.54, allocations: 0 / 0.7523 GB, free: 1.414 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 3.612e-05/1.54, allocations: 14.94 kB / 0.7523 GB, free: 1.402 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/1.54, allocations: 127.9 kB / 0.7525 GB, free: 1.34 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/1.543, allocations: 1.702 MB / 0.7541 GB, free: 15.68 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.544, allocations: 1.437 MB / 0.7555 GB, free: 14.29 MB / 0.5265 GB Notification: Performance of SimCode: time 3.11e-07/1.544, allocations: 0 / 0.7555 GB, free: 14.29 MB / 0.5265 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_125_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_125.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe 2>&1)