Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.0009952/0.0009953, allocations: 174.8 kB / 8.518 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.273/1.273, 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.0009408/0.0009404, allocations: 99.14 kB / 281.2 MB, free: 5.457 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.1917/0.1917, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2402/0.432, allocations: 68.04 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.5452, allocations: 61.91 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3481/0.8934, allocations: 88.3 MB / 0.5804 GB, free: 8.527 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.8937, allocations: 71.97 kB / 0.5805 GB, free: 8.457 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.01543/0.9092, allocations: 5.421 MB / 0.5858 GB, free: 3.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.9092, allocations: 15.94 kB / 0.5858 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.9093, allocations: 7.906 kB / 0.5858 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.9096, allocations: 218.7 kB / 0.586 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.9096, allocations: 0 / 0.586 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.9096, allocations: 0 / 0.586 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.204e-05/0.9097, allocations: 12 kB / 0.586 GB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.061e-05/0.9098, allocations: 49.67 kB / 0.5861 GB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.9098, allocations: 4 kB / 0.5861 GB, free: 2.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.9099, allocations: 0 / 0.5861 GB, free: 2.656 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.9099, allocations: 0 / 0.5861 GB, free: 2.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.9101, allocations: 162.2 kB / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.9102, allocations: 50.56 kB / 0.5863 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.9102, allocations: 16.86 kB / 0.5863 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.9103, allocations: 0 / 0.5863 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.267e-05/0.9104, allocations: 63.5 kB / 0.5864 GB, free: 2.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.9104, allocations: 0 / 0.5864 GB, free: 2.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002029/0.9106, allocations: 69.48 kB / 0.5864 GB, free: 2.234 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.9106, allocations: 55.34 kB / 0.5865 GB, free: 2.168 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.9108, allocations: 165.3 kB / 0.5866 GB, free: 2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.9108, allocations: 25.7 kB / 0.5867 GB, free: 1.969 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.9109, allocations: 92.12 kB / 0.5867 GB, free: 1.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.9109, allocations: 19.84 kB / 0.5868 GB, free: 1.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.9109, allocations: 0 / 0.5868 GB, free: 1.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.9111, allocations: 322.7 kB / 0.5871 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.9111, allocations: 12 kB / 0.5871 GB, free: 1.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.9112, allocations: 26.47 kB / 0.5871 GB, free: 1.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.9112, allocations: 15.98 kB / 0.5871 GB, free: 1.473 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9112, allocations: 4 kB / 0.5871 GB, free: 1.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001265/0.9114, allocations: 73.53 kB / 0.5872 GB, free: 1.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.9114, allocations: 8 kB / 0.5872 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9114, allocations: 0 / 0.5872 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.9114, allocations: 0 / 0.5872 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.9115, allocations: 11.98 kB / 0.5872 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.9115, allocations: 7.938 kB / 0.5872 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.9116, allocations: 4.031 kB / 0.5872 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.9116, allocations: 8 kB / 0.5872 GB, free: 1.352 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 8.041e-05/0.9117, allocations: 105 kB / 0.5873 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.9117, allocations: 23.83 kB / 0.5874 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.9119, allocations: 77.8 kB / 0.5874 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9119, allocations: 0 / 0.5874 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.9119, allocations: 0 / 0.5874 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.9119, allocations: 7.984 kB / 0.5874 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.9121, allocations: 162.2 kB / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9121, allocations: 0 / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.9121, allocations: 11.98 kB / 0.5876 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.9121, allocations: 3.906 kB / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.9121, allocations: 0 / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9121, allocations: 4 kB / 0.5876 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9121, allocations: 0 / 0.5876 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001309/0.9123, allocations: 96.94 kB / 0.5877 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002338/0.9125, allocations: 485.4 kB / 0.5882 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.9126, allocations: 92.91 kB / 0.5883 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.9126, allocations: 4 kB / 0.5883 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.983e-05/0.9127, allocations: 7.938 kB / 0.5883 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.9127, allocations: 3.984 kB / 0.5883 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.9127, allocations: 4 kB / 0.5883 GB, free: 180 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001077/0.9128, allocations: 133 kB / 0.5884 GB, free: 48 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007958/0.9136, allocations: 31.92 kB / 0.5884 GB, free: 16 kB / 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.0006946/0.9144, allocations: 314.5 kB / 0.5887 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.9145, allocations: 39.94 kB / 0.5888 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9145, allocations: 0 / 0.5888 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/0.9145, allocations: 16 kB / 0.5888 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.9148, allocations: 31.36 kB / 0.5888 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.9152, allocations: 135.4 kB / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.9155, allocations: 0.7271 MB / 0.5897 GB, free: 14.78 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.9155, allocations: 0 / 0.5897 GB, free: 14.78 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)