Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 190.5 kB / 8.523 MB, free: 1.734 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.4 MB / 230.3 MB, free: 7.688 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.0009949, allocations: 86.36 kB / 281.2 MB, free: 5.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1706/0.1706, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1978/0.3684, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.4688, allocations: 61.91 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2793/0.7482, allocations: 88.47 MB / 0.5806 GB, free: 8.219 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.7485, allocations: 75.95 kB / 0.5807 GB, free: 8.145 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.01597/0.7644, allocations: 5.641 MB / 0.5862 GB, free: 2.473 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.7645, allocations: 15.94 kB / 0.5862 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.7646, allocations: 7.906 kB / 0.5862 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.7648, allocations: 215.5 kB / 0.5864 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.7649, allocations: 4 kB / 0.5864 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.7649, allocations: 0 / 0.5864 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.152e-05/0.765, allocations: 23.92 kB / 0.5864 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.438e-05/0.7651, allocations: 57.58 kB / 0.5865 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.7651, allocations: 0 / 0.5865 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.7651, allocations: 0 / 0.5865 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.7651, allocations: 4 kB / 0.5865 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.7655, allocations: 277.3 kB / 0.5867 GB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.912e-05/0.7656, allocations: 50.62 kB / 0.5868 GB, free: 1.734 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.7656, allocations: 20.98 kB / 0.5868 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.7657, allocations: 0 / 0.5868 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.416e-05/0.7657, allocations: 71.33 kB / 0.5869 GB, free: 1.629 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.7658, allocations: 0 / 0.5869 GB, free: 1.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003931/0.7661, allocations: 129.3 kB / 0.587 GB, free: 1.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.7662, allocations: 55.41 kB / 0.5871 GB, free: 1.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.7664, allocations: 175.6 kB / 0.5872 GB, free: 1.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.7664, allocations: 25.7 kB / 0.5873 GB, free: 1.219 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.7664, allocations: 96.03 kB / 0.5873 GB, free: 1.121 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.7665, allocations: 31.64 kB / 0.5874 GB, free: 1.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.7665, allocations: 0 / 0.5874 GB, free: 1.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.637e-05/0.7666, allocations: 322.8 kB / 0.5877 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/0.7666, allocations: 16 kB / 0.5877 GB, free: 0.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.209e-05/0.7666, allocations: 33.66 kB / 0.5877 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.7667, allocations: 27.97 kB / 0.5878 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.7667, allocations: 0 / 0.5878 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001458/0.7669, allocations: 93.5 kB / 0.5878 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.7669, allocations: 4 kB / 0.5878 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.7669, allocations: 0 / 0.5878 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.7669, allocations: 4 kB / 0.5879 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.767, allocations: 19.92 kB / 0.5879 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.767, allocations: 0 / 0.5879 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.7671, allocations: 4 kB / 0.5879 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.7671, allocations: 4 kB / 0.5879 GB, free: 0.5508 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.969e-05/0.7672, allocations: 109 kB / 0.588 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.7672, allocations: 19.84 kB / 0.588 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.7674, allocations: 107.3 kB / 0.5881 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7674, allocations: 0 / 0.5881 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.7674, allocations: 0 / 0.5881 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7674, allocations: 3.984 kB / 0.5881 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.7678, allocations: 371.8 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7679, allocations: 0 / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.7679, allocations: 16.02 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.7679, allocations: 0 / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.7679, allocations: 4 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7679, allocations: 7.844 kB / 0.5885 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.768, allocations: 0 / 0.5885 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002005/0.7682, allocations: 206 kB / 0.5887 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003078/0.7685, allocations: 0.5803 MB / 0.5893 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.7686, allocations: 96.92 kB / 0.5893 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.7686, allocations: 3.984 kB / 0.5893 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.7687, allocations: 4 kB / 0.5894 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.7687, allocations: 8 kB / 0.5894 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.7688, allocations: 4.172 kB / 0.5894 GB, free: 14.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001163/0.7689, allocations: 148 kB / 0.5895 GB, free: 14.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008498/0.7697, allocations: 35.94 kB / 0.5895 GB, free: 14.72 MB / 410.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.0007852/0.7705, allocations: 354.7 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.7707, allocations: 51.98 kB / 0.5899 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7707, allocations: 0 / 0.5899 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.364e-05/0.7707, allocations: 31.94 kB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.771, allocations: 24.7 kB / 0.59 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.7714, allocations: 160.5 kB / 0.5901 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.7717, allocations: 0.7349 MB / 0.5909 GB, free: 13.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7718, allocations: 0 / 0.5909 GB, free: 13.4 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)