Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",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.0016/0.0016, allocations: 181.2 kB / 8.522 MB, free: 1.828 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.234/1.234, allocations: 221.4 MB / 230.3 MB, free: 7.703 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.000893/0.0008929, allocations: 84.67 kB / 281.2 MB, free: 5.449 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.1666/0.1666, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.216/0.3826, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.5122, allocations: 61.9 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/0.7814, allocations: 88.78 MB / 0.5809 GB, free: 7.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.7817, allocations: 67.97 kB / 0.5809 GB, free: 7.887 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.03266/0.8143, allocations: 11.6 MB / 0.5923 GB, free: 12.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.8144, allocations: 11.94 kB / 0.5923 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.8145, allocations: 51.34 kB / 0.5923 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009556/0.8155, allocations: 423 kB / 0.5927 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.8155, allocations: 12 kB / 0.5928 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.8156, allocations: 11.98 kB / 0.5928 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002003/0.8158, allocations: 87.91 kB / 0.5928 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.8161, allocations: 191 kB / 0.593 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.8161, allocations: 0 / 0.593 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.8161, allocations: 15.92 kB / 0.593 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.8162, allocations: 4 kB / 0.593 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.8172, allocations: 0.8532 MB / 0.5939 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.8176, allocations: 249.8 kB / 0.5941 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.8178, allocations: 92.34 kB / 0.5942 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.8178, allocations: 4 kB / 0.5942 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.8181, allocations: 203.4 kB / 0.5944 GB, free: 9.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.8181, allocations: 0 / 0.5944 GB, free: 9.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001483/0.8196, allocations: 0.7725 MB / 0.5952 GB, free: 9.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.8197, allocations: 162.2 kB / 0.5953 GB, free: 8.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/0.8203, allocations: 0.5294 MB / 0.5958 GB, free: 8.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.8204, allocations: 37.64 kB / 0.5959 GB, free: 8.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.8205, allocations: 137.4 kB / 0.596 GB, free: 8.164 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.8206, allocations: 122.4 kB / 0.5961 GB, free: 8.043 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.8206, allocations: 0 / 0.5961 GB, free: 8.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.8208, allocations: 370.8 kB / 0.5965 GB, free: 7.672 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.8209, allocations: 80.88 kB / 0.5965 GB, free: 7.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.8212, allocations: 164.1 kB / 0.5967 GB, free: 7.402 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.8214, allocations: 112.2 kB / 0.5968 GB, free: 7.293 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8214, allocations: 0 / 0.5968 GB, free: 7.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006277/0.822, allocations: 356.7 kB / 0.5971 GB, free: 6.938 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.822, allocations: 4 kB / 0.5972 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.8221, allocations: 0 / 0.5972 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.8221, allocations: 8 kB / 0.5972 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.8224, allocations: 83.83 kB / 0.5972 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.8224, allocations: 4 kB / 0.5972 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.8227, allocations: 20.14 kB / 0.5973 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.8227, allocations: 16 kB / 0.5973 GB, free: 6.805 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0001179/0.8229, allocations: 139.3 kB / 0.5974 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.823, allocations: 55.34 kB / 0.5975 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007869/0.8238, allocations: 401.5 kB / 0.5978 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.8238, allocations: 15.94 kB / 0.5979 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.8238, allocations: 0.9375 kB / 0.5979 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.8238, allocations: 7.984 kB / 0.5979 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.8253, allocations: 1.23 MB / 0.5991 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.8253, allocations: 3.938 kB / 0.5991 GB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.8255, allocations: 59.91 kB / 0.5991 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.8255, allocations: 7.906 kB / 0.5991 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.8256, allocations: 11.98 kB / 0.5992 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.8256, allocations: 8 kB / 0.5992 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.8256, allocations: 4 kB / 0.5992 GB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008466/0.8265, allocations: 0.8664 MB / 0.6 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009465/0.8274, allocations: 1.252 MB / 0.6012 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.8277, allocations: 156.9 kB / 0.6014 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.8278, allocations: 11.98 kB / 0.6014 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.8282, allocations: 19.89 kB / 0.6014 GB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.8283, allocations: 39.94 kB / 0.6015 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.8283, allocations: 23.98 kB / 0.6015 GB, free: 2.219 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005142/0.8288, allocations: 426.8 kB / 0.6019 GB, free: 1.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001221/0.8301, allocations: 95.92 kB / 0.602 GB, free: 1.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0008556/0.8309, allocations: 367.5 kB / 0.6023 GB, free: 1.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004735/0.8314, allocations: 259.8 kB / 0.6026 GB, free: 1.176 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8314, allocations: 3.938 kB / 0.6026 GB, free: 1.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.8317, allocations: 143.8 kB / 0.6027 GB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.8325, allocations: 117 kB / 0.6028 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.8339, allocations: 0.7043 MB / 0.6035 GB, free: 168 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/0.8346, allocations: 0.9247 MB / 0.6044 GB, free: 15.21 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8346, allocations: 0 / 0.6044 GB, free: 15.21 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)