Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",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.001184/0.001184, allocations: 187.5 kB / 7.799 MB, free: 2.277 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.157/1.157, 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.0008754/0.0008754, allocations: 87.42 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.1748/0.1748, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1791/0.354, allocations: 64.99 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.6157, allocations: 58.84 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.7295, allocations: 86.85 MB / 0.5503 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.7299, allocations: 75.95 kB / 0.5504 GB, free: 11.99 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.01503/0.7449, allocations: 5.258 MB / 0.5555 GB, free: 6.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.745, allocations: 8 kB / 0.5555 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.7451, allocations: 11.91 kB / 0.5555 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.7454, allocations: 221.5 kB / 0.5557 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.7454, allocations: 0 / 0.5557 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.7455, allocations: 8 kB / 0.5558 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.45e-05/0.7456, allocations: 19.98 kB / 0.5558 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.024e-05/0.7457, allocations: 57.66 kB / 0.5558 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.7457, allocations: 7.844 kB / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.7457, allocations: 0 / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.7457, allocations: 0 / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.7461, allocations: 261.5 kB / 0.5561 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.7462, allocations: 58.53 kB / 0.5561 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.7462, allocations: 16.98 kB / 0.5562 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.7463, allocations: 4 kB / 0.5562 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.904e-05/0.7463, allocations: 55.41 kB / 0.5562 GB, free: 5.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.7464, allocations: 4 kB / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004139/0.7468, allocations: 141.1 kB / 0.5564 GB, free: 5.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.7468, allocations: 55.41 kB / 0.5564 GB, free: 5.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.747, allocations: 170.2 kB / 0.5566 GB, free: 5.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.747, allocations: 25.7 kB / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.747, allocations: 88.14 kB / 0.5567 GB, free: 5.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.7471, allocations: 23.7 kB / 0.5567 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.7471, allocations: 0 / 0.5567 GB, free: 5.336 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.7472, allocations: 322.8 kB / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.7472, allocations: 16 kB / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.303e-05/0.7473, allocations: 37.7 kB / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.7473, allocations: 20 kB / 0.5571 GB, free: 4.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7473, allocations: 7.844 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001388/0.7475, allocations: 89.58 kB / 0.5572 GB, free: 4.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.7475, allocations: 4 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.7475, allocations: 0 / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.7475, allocations: 0 / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.7476, allocations: 16 kB / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7476, allocations: 7.969 kB / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.7477, allocations: 7.891 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.7477, allocations: 4.156 kB / 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 (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.55e-05/0.7478, allocations: 113.8 kB / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.7478, allocations: 7.906 kB / 0.5573 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.748, allocations: 110.2 kB / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.748, allocations: 0 / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.748, allocations: 96 / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.748, allocations: 11.94 kB / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.7484, allocations: 367.8 kB / 0.5578 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.7484, allocations: 192 / 0.5578 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.7484, allocations: 15.98 kB / 0.5578 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.7484, allocations: 0 / 0.5578 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.7485, allocations: 4 kB / 0.5578 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7485, allocations: 0 / 0.5578 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7485, allocations: 0 / 0.5578 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001747/0.7487, allocations: 209.9 kB / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002564/0.7489, allocations: 0.5764 MB / 0.5586 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.749, allocations: 92.92 kB / 0.5587 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.749, allocations: 7.984 kB / 0.5587 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.7491, allocations: 0 / 0.5587 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.7491, allocations: 7.938 kB / 0.5587 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.7492, allocations: 7.984 kB / 0.5587 GB, free: 3.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.86e-05/0.7493, allocations: 136.1 kB / 0.5588 GB, free: 3.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008335/0.7501, allocations: 39.92 kB / 0.5589 GB, free: 2.98 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.0006763/0.7508, allocations: 351.9 kB / 0.5592 GB, free: 2.676 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.7509, allocations: 55.94 kB / 0.5592 GB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7509, allocations: 0 / 0.5592 GB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.714e-05/0.751, allocations: 35.91 kB / 0.5593 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.7513, allocations: 27.97 kB / 0.5593 GB, free: 2.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.7517, allocations: 156.5 kB / 0.5595 GB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.752, allocations: 0.727 MB / 0.5602 GB, free: 1.617 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.752, allocations: 0 / 0.5602 GB, free: 1.617 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)