Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",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.001093/0.001093, allocations: 190.4 kB / 7.802 MB, free: 2.5 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.206/1.206, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0009442/0.0009439, allocations: 90.94 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.1834/0.1834, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1909/0.3744, allocations: 64.98 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.6325, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.7369, allocations: 86.73 MB / 0.5502 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.7371, allocations: 67.97 kB / 0.5502 GB, free: 12.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0149/0.7521, allocations: 5.543 MB / 0.5557 GB, free: 6.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.7521, allocations: 8 kB / 0.5557 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.7522, allocations: 11.81 kB / 0.5557 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.7525, allocations: 230.6 kB / 0.5559 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.7526, allocations: 0 / 0.5559 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.7526, allocations: 4 kB / 0.5559 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.54e-05/0.7527, allocations: 19.98 kB / 0.5559 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.539e-05/0.7527, allocations: 45.59 kB / 0.556 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.7527, allocations: 0 / 0.556 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.7528, allocations: 0 / 0.556 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.7528, allocations: 0 / 0.556 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.753, allocations: 170.2 kB / 0.5561 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.109e-05/0.7531, allocations: 50.56 kB / 0.5562 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.7531, allocations: 24.86 kB / 0.5562 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.7531, allocations: 0 / 0.5562 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.773e-05/0.7532, allocations: 59.41 kB / 0.5563 GB, free: 5.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.7532, allocations: 0 / 0.5563 GB, free: 5.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001813/0.7534, allocations: 77.56 kB / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.7534, allocations: 51.41 kB / 0.5564 GB, free: 5.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.7537, allocations: 229.6 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.7537, allocations: 29.7 kB / 0.5566 GB, free: 5.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.7537, allocations: 96.12 kB / 0.5567 GB, free: 5.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.7538, allocations: 11.91 kB / 0.5567 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.7538, allocations: 3.938 kB / 0.5567 GB, free: 5.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7539, allocations: 326.8 kB / 0.557 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.7539, allocations: 16 kB / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.754, allocations: 25.7 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.326e-05/0.754, allocations: 12 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.754, allocations: 7.906 kB / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001171/0.7541, allocations: 69.59 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.7542, allocations: 7.906 kB / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.7542, allocations: 0 / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.7542, allocations: 7.984 kB / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.7543, allocations: 15.94 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.7543, allocations: 0 / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.7543, allocations: 4 kB / 0.5572 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.7543, allocations: 0 / 0.5572 GB, free: 4.793 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 (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.169e-05/0.7544, allocations: 117.8 kB / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.7544, allocations: 15.81 kB / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.7546, allocations: 86.81 kB / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7546, allocations: 3.938 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7546, allocations: 3.938 kB / 0.5574 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7546, allocations: 0 / 0.5574 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.7548, allocations: 186.1 kB / 0.5576 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7548, allocations: 0 / 0.5576 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.7548, allocations: 4 kB / 0.5576 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7548, allocations: 4 kB / 0.5576 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.7548, allocations: 192 / 0.5576 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.7548, allocations: 11.89 kB / 0.5576 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7548, allocations: 4 kB / 0.5576 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001177/0.755, allocations: 96.94 kB / 0.5577 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002001/0.7552, allocations: 493.3 kB / 0.5582 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.7552, allocations: 100.9 kB / 0.5583 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.7553, allocations: 4 kB / 0.5583 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.825e-05/0.7553, allocations: 0 / 0.5583 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.7554, allocations: 4 kB / 0.5583 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.7554, allocations: 3.984 kB / 0.5583 GB, free: 3.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001563/0.7555, allocations: 192.2 kB / 0.5585 GB, free: 3.387 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008108/0.7564, allocations: 35.84 kB / 0.5585 GB, free: 3.352 MB / 394.7 MB 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,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 (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.0005911/0.757, allocations: 313.7 kB / 0.5588 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.7571, allocations: 35.94 kB / 0.5588 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7571, allocations: 4 kB / 0.5588 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.7571, allocations: 19.98 kB / 0.5589 GB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.7574, allocations: 23.84 kB / 0.5589 GB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.7578, allocations: 195.8 kB / 0.5591 GB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.758, allocations: 0.7422 MB / 0.5598 GB, free: 2.008 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.758, allocations: 0 / 0.5598 GB, free: 2.008 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1)