Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",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.001295/0.001295, allocations: 174.6 kB / 8.517 MB, free: 1.844 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.343/1.343, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0009772/0.0009773, allocations: 81.98 kB / 281.2 MB, free: 5.539 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.2248/0.2248, allocations: 44.15 MB / 376.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2682/0.493, allocations: 68.04 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.6373, allocations: 61.92 MB / 0.4942 GB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/1.04, allocations: 88.44 MB / 0.5806 GB, free: 8.324 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/1.041, allocations: 75.53 kB / 0.5806 GB, free: 8.266 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.01694/1.058, allocations: 5.523 MB / 0.586 GB, free: 2.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.058, allocations: 15.94 kB / 0.586 GB, free: 2.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/1.058, allocations: 7.906 kB / 0.586 GB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/1.058, allocations: 211.5 kB / 0.5862 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/1.058, allocations: 4 kB / 0.5863 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/1.058, allocations: 0 / 0.5863 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/1.058, allocations: 23.98 kB / 0.5863 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/1.058, allocations: 49.59 kB / 0.5863 GB, free: 2.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/1.058, allocations: 7.938 kB / 0.5863 GB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/1.058, allocations: 0 / 0.5863 GB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.058, allocations: 0 / 0.5863 GB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/1.059, allocations: 281.4 kB / 0.5866 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/1.059, allocations: 50.69 kB / 0.5866 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/1.059, allocations: 24.92 kB / 0.5867 GB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/1.059, allocations: 0 / 0.5867 GB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.813e-05/1.059, allocations: 59.34 kB / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/1.059, allocations: 0 / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005067/1.06, allocations: 129.3 kB / 0.5869 GB, free: 1.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/1.06, allocations: 55.41 kB / 0.5869 GB, free: 1.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/1.06, allocations: 179.6 kB / 0.5871 GB, free: 1.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/1.06, allocations: 29.7 kB / 0.5871 GB, free: 1.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/1.06, allocations: 96.03 kB / 0.5872 GB, free: 1.367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/1.06, allocations: 23.66 kB / 0.5872 GB, free: 1.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/1.06, allocations: 0 / 0.5872 GB, free: 1.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/1.06, allocations: 322.8 kB / 0.5875 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/1.06, allocations: 16 kB / 0.5875 GB, free: 1.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-05/1.06, allocations: 37.64 kB / 0.5876 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/1.06, allocations: 23.98 kB / 0.5876 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/1.06, allocations: 4 kB / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001566/1.061, allocations: 89.5 kB / 0.5877 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.061, allocations: 4 kB / 0.5877 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.061, allocations: 0 / 0.5877 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.061, allocations: 4 kB / 0.5877 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/1.061, allocations: 19.92 kB / 0.5877 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/1.061, allocations: 0 / 0.5877 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/1.061, allocations: 4 kB / 0.5877 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/1.061, allocations: 4.188 kB / 0.5877 GB, free: 0.8047 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.643e-05/1.061, allocations: 109.2 kB / 0.5878 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/1.061, allocations: 11.81 kB / 0.5878 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/1.061, allocations: 114.9 kB / 0.5879 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.061, allocations: 0 / 0.5879 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.061, allocations: 0 / 0.5879 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.061, allocations: 0 / 0.5879 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/1.062, allocations: 379.9 kB / 0.5883 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.062, allocations: 0 / 0.5883 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/1.062, allocations: 8 kB / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.062, allocations: 0 / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/1.062, allocations: 4 kB / 0.5883 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/1.062, allocations: 7.891 kB / 0.5883 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.062, allocations: 4.016 kB / 0.5883 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002465/1.062, allocations: 209.9 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003386/1.062, allocations: 0.5766 MB / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/1.062, allocations: 100.9 kB / 0.5892 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/1.062, allocations: 0 / 0.5892 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/1.063, allocations: 11.98 kB / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/1.063, allocations: 4 kB / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/1.063, allocations: 0 / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001306/1.063, allocations: 148 kB / 0.5893 GB, free: 15.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009323/1.064, allocations: 39.92 kB / 0.5894 GB, free: 14.97 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.0007902/1.064, allocations: 349.9 kB / 0.5897 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/1.065, allocations: 48 kB / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.065, allocations: 0 / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.76e-05/1.065, allocations: 35.92 kB / 0.5898 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/1.065, allocations: 24.7 kB / 0.5898 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/1.065, allocations: 168.6 kB / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/1.066, allocations: 0.727 MB / 0.5907 GB, free: 13.65 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/1.066, allocations: 0 / 0.5907 GB, free: 13.65 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)