Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.001135/0.001135, allocations: 184.3 kB / 8.523 MB, free: 1.84 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.342/1.342, allocations: 221.4 MB / 230.3 MB, free: 3 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.0011/0.0011, allocations: 92.41 kB / 281.2 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4038/0.4038, allocations: 44.14 MB / 376.1 MB, free: 43.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1544/0.5582, allocations: 68.03 MB / 444.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.9766, allocations: 61.91 MB / 0.4942 GB, free: 42.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/1.103, allocations: 88.45 MB / 0.5806 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/1.104, allocations: 71.95 kB / 0.5806 GB, free: 12.75 MB / 410.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.01638/1.12, allocations: 5.521 MB / 0.586 GB, free: 7.215 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.12, allocations: 11.98 kB / 0.586 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/1.12, allocations: 11.91 kB / 0.586 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/1.121, allocations: 212.4 kB / 0.5862 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/1.121, allocations: 7.984 kB / 0.5863 GB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/1.121, allocations: 4 kB / 0.5863 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.384e-05/1.121, allocations: 12 kB / 0.5863 GB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/1.121, allocations: 61.52 kB / 0.5863 GB, free: 6.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.121, allocations: 0 / 0.5863 GB, free: 6.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/1.121, allocations: 4 kB / 0.5863 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.121, allocations: 0 / 0.5863 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/1.121, allocations: 265.4 kB / 0.5866 GB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/1.122, allocations: 58.62 kB / 0.5866 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/1.122, allocations: 16.98 kB / 0.5867 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/1.122, allocations: 4 kB / 0.5867 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.592e-05/1.122, allocations: 63.27 kB / 0.5867 GB, free: 6.387 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/1.122, allocations: 4 kB / 0.5867 GB, free: 6.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004632/1.122, allocations: 133.3 kB / 0.5868 GB, free: 6.246 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/1.122, allocations: 51.41 kB / 0.5869 GB, free: 6.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/1.122, allocations: 175.8 kB / 0.5871 GB, free: 6.004 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/1.123, allocations: 33.69 kB / 0.5871 GB, free: 5.965 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/1.123, allocations: 88.05 kB / 0.5872 GB, free: 5.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/1.123, allocations: 31.58 kB / 0.5872 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/1.123, allocations: 0 / 0.5872 GB, free: 5.844 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/1.123, allocations: 322.8 kB / 0.5875 GB, free: 5.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/1.123, allocations: 20 kB / 0.5875 GB, free: 5.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/1.123, allocations: 33.72 kB / 0.5876 GB, free: 5.461 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/1.123, allocations: 24.53 kB / 0.5876 GB, free: 5.438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/1.123, allocations: 0 / 0.5876 GB, free: 5.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001726/1.123, allocations: 98.12 kB / 0.5877 GB, free: 5.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.123, allocations: 4 kB / 0.5877 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.123, allocations: 3.984 kB / 0.5877 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.123, allocations: 192 / 0.5877 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/1.123, allocations: 20 kB / 0.5877 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.123, allocations: 4.031 kB / 0.5877 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.392e-05/1.123, allocations: 0 / 0.5877 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/1.123, allocations: 7.984 kB / 0.5877 GB, free: 5.297 MB / 410.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 9.294e-05/1.124, allocations: 112.5 kB / 0.5878 GB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/1.124, allocations: 11.81 kB / 0.5878 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/1.124, allocations: 101 kB / 0.5879 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.124, allocations: 3.984 kB / 0.5879 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.124, allocations: 4 kB / 0.5879 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.124, allocations: 4 kB / 0.588 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/1.124, allocations: 367.8 kB / 0.5883 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.124, allocations: 0 / 0.5883 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/1.124, allocations: 15.98 kB / 0.5883 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.124, allocations: 288 / 0.5883 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/1.124, allocations: 0 / 0.5883 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/1.124, allocations: 11.84 kB / 0.5883 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.124, allocations: 7.875 kB / 0.5883 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001998/1.125, allocations: 202.2 kB / 0.5885 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004026/1.125, allocations: 0.5883 MB / 0.5891 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/1.125, allocations: 100.9 kB / 0.5892 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/1.125, allocations: 4 kB / 0.5892 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/1.125, allocations: 0 / 0.5892 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/1.125, allocations: 7.984 kB / 0.5892 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/1.125, allocations: 4 kB / 0.5892 GB, free: 3.648 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001264/1.125, allocations: 148 kB / 0.5894 GB, free: 3.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000896/1.126, allocations: 35.94 kB / 0.5894 GB, free: 3.469 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.0008358/1.127, allocations: 351.1 kB / 0.5897 GB, free: 3.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/1.127, allocations: 55.92 kB / 0.5898 GB, free: 3.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.127, allocations: 0 / 0.5898 GB, free: 3.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.763e-05/1.127, allocations: 32.06 kB / 0.5898 GB, free: 3.141 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/1.128, allocations: 23.89 kB / 0.5898 GB, free: 3.117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/1.128, allocations: 165.7 kB / 0.59 GB, free: 2.926 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/1.129, allocations: 0.727 MB / 0.5907 GB, free: 2.172 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/1.129, allocations: 0 / 0.5907 GB, free: 2.172 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)