Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",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.0009705/0.0009705, allocations: 192.2 kB / 7.808 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.13/1.13, 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.0009856/0.0009857, allocations: 93.44 kB / 261.4 MB, free: 13.62 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.1727/0.1727, allocations: 43.48 MB / 352.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1796/0.3524, allocations: 64.98 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.6023, allocations: 58.85 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.7198, allocations: 86.68 MB / 0.5501 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.7201, allocations: 71.97 kB / 0.5502 GB, free: 12.16 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.01448/0.7346, allocations: 5.264 MB / 0.5553 GB, free: 6.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.7346, allocations: 12 kB / 0.5554 GB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.7347, allocations: 15.75 kB / 0.5554 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.735, allocations: 210.9 kB / 0.5556 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.735, allocations: 4 kB / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.7351, allocations: 0 / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.181e-05/0.7351, allocations: 23.89 kB / 0.5556 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.259e-05/0.7352, allocations: 41.69 kB / 0.5556 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.7353, allocations: 4 kB / 0.5556 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.7353, allocations: 3.984 kB / 0.5557 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7353, allocations: 3.938 kB / 0.5557 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.7355, allocations: 162.2 kB / 0.5558 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.65e-05/0.7356, allocations: 46.62 kB / 0.5559 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.7357, allocations: 24.84 kB / 0.5559 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.7357, allocations: 0 / 0.5559 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.7358, allocations: 63.41 kB / 0.5559 GB, free: 6.148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.7358, allocations: 0 / 0.5559 GB, free: 6.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001927/0.736, allocations: 73.52 kB / 0.556 GB, free: 6.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.736, allocations: 55.41 kB / 0.5561 GB, free: 6.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.7362, allocations: 177.5 kB / 0.5562 GB, free: 5.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.7363, allocations: 33.69 kB / 0.5563 GB, free: 5.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.7363, allocations: 88.14 kB / 0.5563 GB, free: 5.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.7363, allocations: 19.73 kB / 0.5564 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.7364, allocations: 3.938 kB / 0.5564 GB, free: 5.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7365, allocations: 322.8 kB / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.7365, allocations: 12 kB / 0.5567 GB, free: 5.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/0.7366, allocations: 25.72 kB / 0.5567 GB, free: 5.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.7366, allocations: 19.98 kB / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7366, allocations: 0 / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001367/0.7368, allocations: 77.44 kB / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.7368, allocations: 8 kB / 0.5568 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7368, allocations: 0 / 0.5568 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.7368, allocations: 0 / 0.5568 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.7369, allocations: 8 kB / 0.5568 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.7369, allocations: 0 / 0.5568 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.737, allocations: 12.02 kB / 0.5568 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.737, allocations: 12.03 kB / 0.5568 GB, free: 5.16 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 7.315e-05/0.7371, allocations: 106.4 kB / 0.5569 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.7371, allocations: 11.91 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.7373, allocations: 82.61 kB / 0.557 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7373, allocations: 4 kB / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7373, allocations: 0 / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.7373, allocations: 0 / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.7375, allocations: 166.2 kB / 0.5572 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7375, allocations: 7.922 kB / 0.5572 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.7375, allocations: 8 kB / 0.5572 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.7375, allocations: 4 kB / 0.5572 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.7375, allocations: 3.906 kB / 0.5572 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7375, allocations: 0 / 0.5572 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.7375, allocations: 0 / 0.5572 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001338/0.7377, allocations: 104.9 kB / 0.5573 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002558/0.738, allocations: 485.3 kB / 0.5578 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.738, allocations: 97 kB / 0.5579 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.7381, allocations: 0 / 0.5579 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.7381, allocations: 0 / 0.5579 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.7382, allocations: 11.89 kB / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.7382, allocations: 0 / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001239/0.7383, allocations: 152.2 kB / 0.558 GB, free: 3.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008058/0.7391, allocations: 31.88 kB / 0.5581 GB, free: 3.809 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.0006692/0.7398, allocations: 325.8 kB / 0.5584 GB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.7399, allocations: 39.98 kB / 0.5584 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7399, allocations: 0 / 0.5584 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.74, allocations: 16 kB / 0.5584 GB, free: 3.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.7402, allocations: 27.78 kB / 0.5585 GB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.7406, allocations: 159.4 kB / 0.5586 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.741, allocations: 0.727 MB / 0.5593 GB, free: 2.504 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.741, allocations: 0 / 0.5593 GB, free: 2.504 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)