Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.001174/0.001173, allocations: 182.3 kB / 8.52 MB, free: 1.832 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.262/1.262, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.0009708/0.0009707, allocations: 78.38 kB / 281.2 MB, free: 5.461 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.2049/0.2049, allocations: 44.14 MB / 376.1 MB, free: 3.09 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2259/0.4308, allocations: 68.04 MB / 444.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.5528, allocations: 61.91 MB / 0.4942 GB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3871/0.9399, allocations: 88.44 MB / 0.5806 GB, free: 8.031 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.9402, allocations: 75.91 kB / 0.5806 GB, free: 7.957 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.01509/0.9553, allocations: 5.383 MB / 0.5859 GB, free: 2.535 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.9554, allocations: 11.94 kB / 0.5859 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.9555, allocations: 7.906 kB / 0.5859 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.9558, allocations: 211.3 kB / 0.5861 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.9558, allocations: 0 / 0.5861 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.9559, allocations: 11.91 kB / 0.5861 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.544e-05/0.956, allocations: 15.98 kB / 0.5861 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.596e-05/0.9561, allocations: 49.69 kB / 0.5862 GB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.9561, allocations: 3.984 kB / 0.5862 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.9561, allocations: 0 / 0.5862 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.9561, allocations: 4 kB / 0.5862 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.9565, allocations: 265.4 kB / 0.5864 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.9566, allocations: 50.62 kB / 0.5865 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.9567, allocations: 20.98 kB / 0.5865 GB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.9567, allocations: 3.984 kB / 0.5865 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.576e-05/0.9568, allocations: 59.41 kB / 0.5866 GB, free: 1.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.9568, allocations: 0 / 0.5866 GB, free: 1.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004034/0.9572, allocations: 133.2 kB / 0.5867 GB, free: 1.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.9572, allocations: 59.41 kB / 0.5868 GB, free: 1.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.9574, allocations: 146.1 kB / 0.5869 GB, free: 1.355 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.9574, allocations: 25.7 kB / 0.5869 GB, free: 1.324 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.9575, allocations: 92.12 kB / 0.587 GB, free: 1.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.9575, allocations: 15.72 kB / 0.587 GB, free: 1.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.9575, allocations: 0 / 0.587 GB, free: 1.215 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.9576, allocations: 326.8 kB / 0.5873 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/0.9577, allocations: 12 kB / 0.5873 GB, free: 0.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.455e-05/0.9577, allocations: 33.7 kB / 0.5874 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.9578, allocations: 27.94 kB / 0.5874 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.9578, allocations: 0 / 0.5874 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001437/0.9579, allocations: 93.48 kB / 0.5875 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.9579, allocations: 4 kB / 0.5875 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9579, allocations: 0 / 0.5875 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.958, allocations: 0 / 0.5875 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.9581, allocations: 23.94 kB / 0.5875 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.9581, allocations: 192 / 0.5875 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.9581, allocations: 11.98 kB / 0.5875 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.9582, allocations: 4.031 kB / 0.5875 GB, free: 0.668 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 7.88e-05/0.9582, allocations: 108.9 kB / 0.5876 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.9583, allocations: 7.906 kB / 0.5876 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.9585, allocations: 106.2 kB / 0.5877 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.9585, allocations: 0 / 0.5877 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.9585, allocations: 3.984 kB / 0.5877 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.9585, allocations: 0 / 0.5877 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.9589, allocations: 367.8 kB / 0.5881 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9589, allocations: 0 / 0.5881 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.9589, allocations: 12 kB / 0.5881 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9589, allocations: 0 / 0.5881 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.9589, allocations: 3.906 kB / 0.5881 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.959, allocations: 8.172 kB / 0.5881 GB, free: 0 / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.959, allocations: 0 / 0.5881 GB, free: 0 / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001865/0.9592, allocations: 209.9 kB / 0.5883 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003039/0.9595, allocations: 0.5766 MB / 0.5889 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.9595, allocations: 89 kB / 0.589 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.9596, allocations: 4 kB / 0.589 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.9597, allocations: 8 kB / 0.589 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.9597, allocations: 7.984 kB / 0.589 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.9597, allocations: 4 kB / 0.589 GB, free: 15.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.773e-05/0.9598, allocations: 123.4 kB / 0.5891 GB, free: 14.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008271/0.9606, allocations: 39.83 kB / 0.5891 GB, free: 14.88 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.0007061/0.9613, allocations: 348.8 kB / 0.5895 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.9615, allocations: 52 kB / 0.5895 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9615, allocations: 0 / 0.5895 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.252e-05/0.9616, allocations: 31.92 kB / 0.5896 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.9618, allocations: 22.98 kB / 0.5896 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.9622, allocations: 136.8 kB / 0.5897 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.9625, allocations: 0.7188 MB / 0.5904 GB, free: 13.62 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9625, allocations: 0 / 0.5904 GB, free: 13.62 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)