Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.001096, allocations: 190.4 kB / 7.802 MB, free: 2.457 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.87 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.0008597/0.0008595, allocations: 94.34 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.1602/0.1602, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1637/0.3239, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.5572, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.6662, allocations: 86.88 MB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.6664, allocations: 79.41 kB / 0.5504 GB, free: 11.97 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.01507/0.6815, allocations: 5.504 MB / 0.5558 GB, free: 6.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.6816, allocations: 12 kB / 0.5558 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.6816, allocations: 11.81 kB / 0.5558 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.6819, allocations: 214.9 kB / 0.556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.682, allocations: 7.906 kB / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.682, allocations: 4 kB / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.687e-05/0.6821, allocations: 16 kB / 0.556 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.328e-05/0.6822, allocations: 57.61 kB / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6822, allocations: 0 / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.6822, allocations: 0 / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.6822, allocations: 0 / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.6826, allocations: 273.4 kB / 0.5564 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.6827, allocations: 46.7 kB / 0.5564 GB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.6828, allocations: 20.97 kB / 0.5564 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.6828, allocations: 4 kB / 0.5564 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.327e-05/0.6829, allocations: 59.34 kB / 0.5565 GB, free: 5.602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.735e-06/0.6829, allocations: 0 / 0.5565 GB, free: 5.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003904/0.6833, allocations: 141.1 kB / 0.5566 GB, free: 5.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.6833, allocations: 59.41 kB / 0.5567 GB, free: 5.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.6835, allocations: 181.5 kB / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.6835, allocations: 25.7 kB / 0.5569 GB, free: 5.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.6836, allocations: 92.12 kB / 0.557 GB, free: 5.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.6836, allocations: 19.72 kB / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-06/0.6836, allocations: 0 / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6837, allocations: 326.8 kB / 0.5573 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.6838, allocations: 23.92 kB / 0.5573 GB, free: 4.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.6838, allocations: 33.72 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.6839, allocations: 23.97 kB / 0.5574 GB, free: 4.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.6839, allocations: 0 / 0.5574 GB, free: 4.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001499/0.684, allocations: 89.5 kB / 0.5575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.6841, allocations: 8 kB / 0.5575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6841, allocations: 0 / 0.5575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.6841, allocations: 192 / 0.5575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.6842, allocations: 23.92 kB / 0.5575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6842, allocations: 7.938 kB / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.6843, allocations: 11.88 kB / 0.5575 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.6843, allocations: 4 kB / 0.5575 GB, free: 4.492 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 8.604e-05/0.6844, allocations: 105.8 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.6844, allocations: 15.81 kB / 0.5576 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.6847, allocations: 107.1 kB / 0.5577 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6847, allocations: 0 / 0.5577 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.6847, allocations: 0 / 0.5577 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6847, allocations: 4 kB / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.6851, allocations: 384 kB / 0.5581 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.6851, allocations: 4 kB / 0.5581 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.6852, allocations: 11.98 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6852, allocations: 0 / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.6852, allocations: 4 kB / 0.5581 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6852, allocations: 0 / 0.5581 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6852, allocations: 0 / 0.5581 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00019/0.6854, allocations: 213.8 kB / 0.5583 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000305/0.6857, allocations: 0.5725 MB / 0.5589 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.6858, allocations: 93.02 kB / 0.559 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.6859, allocations: 15.83 kB / 0.559 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.686, allocations: 4 kB / 0.559 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.686, allocations: 4 kB / 0.559 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.686, allocations: 7.984 kB / 0.559 GB, free: 2.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001294/0.6862, allocations: 148.2 kB / 0.5591 GB, free: 2.695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008334/0.687, allocations: 36.28 kB / 0.5592 GB, free: 2.66 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.0006537/0.6877, allocations: 351.7 kB / 0.5595 GB, free: 2.352 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.6878, allocations: 55.92 kB / 0.5596 GB, free: 2.297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6878, allocations: 0 / 0.5596 GB, free: 2.297 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.6879, allocations: 28 kB / 0.5596 GB, free: 2.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.6882, allocations: 31.88 kB / 0.5596 GB, free: 2.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.6886, allocations: 180.4 kB / 0.5598 GB, free: 2.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.6889, allocations: 0.7386 MB / 0.5605 GB, free: 1.262 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6889, allocations: 0 / 0.5605 GB, free: 1.262 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)