Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.001019/0.001019, allocations: 187.6 kB / 7.799 MB, free: 2.508 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.096/1.096, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008989/0.000899, allocations: 96.27 kB / 261.4 MB, free: 13.55 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.1655/0.1655, allocations: 43.5 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1777/0.3433, allocations: 64.98 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.6101, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.725, allocations: 86.89 MB / 0.5503 GB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.7252, allocations: 79.12 kB / 0.5504 GB, free: 11.95 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.01517/0.7404, allocations: 5.336 MB / 0.5556 GB, free: 6.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.7404, allocations: 12 kB / 0.5556 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.7405, allocations: 7.906 kB / 0.5556 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.7408, allocations: 210.6 kB / 0.5558 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.7409, allocations: 4 kB / 0.5558 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.7409, allocations: 0 / 0.5558 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.43e-05/0.741, allocations: 20 kB / 0.5559 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.417e-05/0.7411, allocations: 49.67 kB / 0.5559 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.7411, allocations: 4 kB / 0.5559 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.7411, allocations: 0 / 0.5559 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7411, allocations: 0 / 0.5559 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.7415, allocations: 265.4 kB / 0.5562 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.999e-05/0.7416, allocations: 62.56 kB / 0.5562 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.7416, allocations: 16.98 kB / 0.5562 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.7417, allocations: 0 / 0.5562 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.7418, allocations: 67.3 kB / 0.5563 GB, free: 5.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.7418, allocations: 0 / 0.5563 GB, free: 5.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004136/0.7422, allocations: 129.3 kB / 0.5564 GB, free: 5.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.7422, allocations: 63.34 kB / 0.5565 GB, free: 5.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.7424, allocations: 157.3 kB / 0.5566 GB, free: 5.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.7424, allocations: 25.7 kB / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.7425, allocations: 92.12 kB / 0.5568 GB, free: 5.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.7425, allocations: 23.66 kB / 0.5568 GB, free: 5.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.7425, allocations: 0 / 0.5568 GB, free: 5.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.7426, allocations: 322.8 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/0.7426, allocations: 12 kB / 0.5571 GB, free: 4.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.7427, allocations: 41.7 kB / 0.5571 GB, free: 4.852 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.7428, allocations: 16 kB / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.7428, allocations: 0 / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001432/0.7429, allocations: 101.6 kB / 0.5573 GB, free: 4.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.7429, allocations: 7.906 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7429, allocations: 0 / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.743, allocations: 0 / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.578e-05/0.7431, allocations: 16 kB / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.7431, allocations: 0 / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.7431, allocations: 8.203 kB / 0.5573 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.7431, allocations: 8 kB / 0.5573 GB, free: 4.691 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 6.934e-05/0.7432, allocations: 113.8 kB / 0.5574 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.7432, allocations: 11.81 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.7435, allocations: 106.1 kB / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.7435, allocations: 0 / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.7435, allocations: 3.984 kB / 0.5575 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7435, allocations: 0 / 0.5575 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.7439, allocations: 364.1 kB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7439, allocations: 0 / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.7439, allocations: 11.94 kB / 0.5579 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.7439, allocations: 7.938 kB / 0.5579 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.744, allocations: 3.984 kB / 0.5579 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.744, allocations: 0 / 0.5579 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.744, allocations: 0 / 0.5579 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001792/0.7442, allocations: 209.9 kB / 0.5581 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002674/0.7444, allocations: 0.5725 MB / 0.5586 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.7445, allocations: 96.92 kB / 0.5587 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.7445, allocations: 4 kB / 0.5587 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.06e-05/0.7446, allocations: 7.922 kB / 0.5587 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.7447, allocations: 4 kB / 0.5588 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.7447, allocations: 4 kB / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.853e-05/0.7448, allocations: 128.1 kB / 0.5589 GB, free: 2.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008192/0.7456, allocations: 39.84 kB / 0.5589 GB, free: 2.898 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.0007192/0.7463, allocations: 354.4 kB / 0.5593 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.7465, allocations: 55.92 kB / 0.5593 GB, free: 2.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.7465, allocations: 0 / 0.5593 GB, free: 2.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.7466, allocations: 27.94 kB / 0.5593 GB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.7469, allocations: 24.72 kB / 0.5594 GB, free: 2.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.7472, allocations: 148.5 kB / 0.5595 GB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.7475, allocations: 0.7231 MB / 0.5602 GB, free: 1.551 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7475, allocations: 0 / 0.5602 GB, free: 1.551 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)