Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",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.001095/0.001095, allocations: 193 kB / 7.806 MB, free: 2.488 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.133/1.133, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.000921/0.0009207, allocations: 87.81 kB / 261.4 MB, free: 13.54 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.1707/0.1707, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1772/0.348, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.6047, allocations: 58.83 MB / 476.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.7191, allocations: 87.2 MB / 0.5506 GB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.7194, allocations: 79.45 kB / 0.5507 GB, free: 11.71 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.03077/0.7502, allocations: 11.19 MB / 0.5616 GB, free: 476 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.7503, allocations: 8 kB / 0.5617 GB, free: 468 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.7505, allocations: 59.27 kB / 0.5617 GB, free: 408 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008985/0.7514, allocations: 427 kB / 0.5621 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.7514, allocations: 8 kB / 0.5621 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.7515, allocations: 8 kB / 0.5621 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001977/0.7517, allocations: 99.8 kB / 0.5622 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.7519, allocations: 181.9 kB / 0.5624 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.752, allocations: 4 kB / 0.5624 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.752, allocations: 4 kB / 0.5624 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.752, allocations: 4 kB / 0.5624 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.7531, allocations: 0.8571 MB / 0.5632 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.7535, allocations: 249.8 kB / 0.5635 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.7537, allocations: 88.34 kB / 0.5636 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.7537, allocations: 4 kB / 0.5636 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.754, allocations: 207.4 kB / 0.5638 GB, free: 14.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.384e-06/0.754, allocations: 0 / 0.5638 GB, free: 14.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001503/0.7555, allocations: 0.7725 MB / 0.5645 GB, free: 13.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.7556, allocations: 170.2 kB / 0.5647 GB, free: 13.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.7563, allocations: 0.5294 MB / 0.5652 GB, free: 12.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.7563, allocations: 29.7 kB / 0.5652 GB, free: 12.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.7564, allocations: 136.7 kB / 0.5654 GB, free: 12.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.7565, allocations: 122.3 kB / 0.5655 GB, free: 12.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.7565, allocations: 0 / 0.5655 GB, free: 12.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.7567, allocations: 374.8 kB / 0.5658 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.7569, allocations: 84.86 kB / 0.5659 GB, free: 11.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.7571, allocations: 164.1 kB / 0.5661 GB, free: 11.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.7573, allocations: 108.3 kB / 0.5662 GB, free: 11.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7573, allocations: 0 / 0.5662 GB, free: 11.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005879/0.7579, allocations: 360.7 kB / 0.5665 GB, free: 11.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7579, allocations: 6.812 kB / 0.5665 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.7579, allocations: 4 kB / 0.5665 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.7579, allocations: 4 kB / 0.5665 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.7583, allocations: 83.83 kB / 0.5666 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.7583, allocations: 4 kB / 0.5666 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.7585, allocations: 20.14 kB / 0.5666 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.7586, allocations: 16 kB / 0.5667 GB, free: 11.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0001149/0.7587, allocations: 140.7 kB / 0.5668 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.049e-05/0.7588, allocations: 55.34 kB / 0.5668 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006892/0.7595, allocations: 409.4 kB / 0.5672 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.7595, allocations: 4 kB / 0.5672 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7595, allocations: 3.984 kB / 0.5672 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.7595, allocations: 4 kB / 0.5672 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.761, allocations: 1.23 MB / 0.5684 GB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.761, allocations: 4 kB / 0.5684 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.7612, allocations: 56.77 kB / 0.5685 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.7612, allocations: 8 kB / 0.5685 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.7612, allocations: 7.984 kB / 0.5685 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.7612, allocations: 8.156 kB / 0.5685 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.7612, allocations: 4 kB / 0.5685 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007231/0.762, allocations: 0.8623 MB / 0.5694 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008051/0.7628, allocations: 1.267 MB / 0.5706 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.763, allocations: 152.4 kB / 0.5708 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.396e-05/0.7631, allocations: 11.91 kB / 0.5708 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.7635, allocations: 19.97 kB / 0.5708 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.7635, allocations: 32.44 kB / 0.5708 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.7636, allocations: 23.98 kB / 0.5708 GB, free: 6.441 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004914/0.7641, allocations: 426.9 kB / 0.5712 GB, free: 6.027 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00127/0.7654, allocations: 95.84 kB / 0.5713 GB, free: 5.934 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009119/0.7663, allocations: 365.8 kB / 0.5717 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004677/0.7668, allocations: 259.8 kB / 0.5719 GB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.7668, allocations: 0 / 0.5719 GB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.767, allocations: 144.4 kB / 0.5721 GB, free: 5.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/0.7679, allocations: 121.3 kB / 0.5722 GB, free: 5.102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.7693, allocations: 0.7044 MB / 0.5729 GB, free: 4.344 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000612/0.77, allocations: 0.926 MB / 0.5738 GB, free: 3.391 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.77, allocations: 0 / 0.5738 GB, free: 3.391 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)