Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32: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 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 191.5 kB / 7.807 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.2 MB / 213.4 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009646/0.0009646, allocations: 89.06 kB / 261.4 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1677/0.1677, allocations: 43.49 MB / 352.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.174/0.3417, allocations: 64.98 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.616, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.7324, allocations: 86.89 MB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.7327, allocations: 75.95 kB / 0.5504 GB, free: 11.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01573/0.7484, allocations: 5.492 MB / 0.5558 GB, free: 6.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.7484, allocations: 12 kB / 0.5558 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.7485, allocations: 19.81 kB / 0.5558 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.7489, allocations: 214.9 kB / 0.556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.7489, allocations: 7.906 kB / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.7489, allocations: 0 / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.412e-05/0.749, allocations: 19.98 kB / 0.556 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.405e-05/0.7491, allocations: 53.67 kB / 0.5561 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7491, allocations: 3.938 kB / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.7491, allocations: 0 / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.7491, allocations: 0 / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.7495, allocations: 277.4 kB / 0.5564 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.7497, allocations: 46.69 kB / 0.5564 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.7497, allocations: 16.98 kB / 0.5564 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.7497, allocations: 4 kB / 0.5564 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.48e-05/0.7498, allocations: 71.27 kB / 0.5565 GB, free: 5.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.7499, allocations: 4 kB / 0.5565 GB, free: 5.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004394/0.7503, allocations: 141 kB / 0.5566 GB, free: 5.441 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.7504, allocations: 51.41 kB / 0.5567 GB, free: 5.379 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.7506, allocations: 185.5 kB / 0.5569 GB, free: 5.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.7506, allocations: 25.7 kB / 0.5569 GB, free: 5.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.7506, allocations: 92.12 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.7507, allocations: 19.72 kB / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.7507, allocations: 0 / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.7509, allocations: 330.8 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.165e-05/0.7509, allocations: 19.94 kB / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.751, allocations: 33.7 kB / 0.5574 GB, free: 4.648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.661e-05/0.751, allocations: 20 kB / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.7511, allocations: 0 / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001603/0.7512, allocations: 89.48 kB / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.7512, allocations: 10.81 kB / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7513, allocations: 4.031 kB / 0.5575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7513, allocations: 0 / 0.5575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.7514, allocations: 19.94 kB / 0.5575 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.7514, allocations: 7.984 kB / 0.5575 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.7515, allocations: 7.844 kB / 0.5575 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.7515, allocations: 4 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.35e-05/0.7516, allocations: 106.4 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.7516, allocations: 11.81 kB / 0.5576 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.7518, allocations: 107 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.7518, allocations: 4 kB / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7519, allocations: 0 / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.7519, allocations: 0 / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.7523, allocations: 379.8 kB / 0.5581 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7523, allocations: 0 / 0.5581 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.7523, allocations: 8 kB / 0.5581 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.7523, allocations: 4 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.7524, allocations: 8.016 kB / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.7524, allocations: 288 / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7524, allocations: 192 / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002076/0.7526, allocations: 213.9 kB / 0.5583 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003612/0.753, allocations: 0.592 MB / 0.5589 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.753, allocations: 85.02 kB / 0.559 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.7531, allocations: 7.906 kB / 0.559 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-05/0.7532, allocations: 7.984 kB / 0.559 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.7532, allocations: 7.984 kB / 0.559 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.7532, allocations: 4 kB / 0.559 GB, free: 2.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001363/0.7534, allocations: 160.2 kB / 0.5592 GB, free: 2.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009103/0.7543, allocations: 32 kB / 0.5592 GB, free: 2.641 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0007334/0.755, allocations: 343.1 kB / 0.5595 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.7552, allocations: 55.98 kB / 0.5596 GB, free: 2.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7552, allocations: 3.938 kB / 0.5596 GB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/0.7553, allocations: 28 kB / 0.5596 GB, free: 2.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.7556, allocations: 27.75 kB / 0.5596 GB, free: 2.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.756, allocations: 180.4 kB / 0.5598 GB, free: 2.012 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.7564, allocations: 0.7349 MB / 0.5605 GB, free: 1.25 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.7564, allocations: 0 / 0.5605 GB, free: 1.25 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)