Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001149/0.001149, allocations: 188.3 kB / 8.521 MB, free: 1.824 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.261/1.261, allocations: 221.4 MB / 230.3 MB, free: 7.762 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.0009653/0.0009656, allocations: 80.75 kB / 281.2 MB, free: 5.523 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.1842/0.1842, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2469/0.4312, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.5572, allocations: 61.92 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3308/0.888, allocations: 88.49 MB / 0.5806 GB, free: 8.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.8883, allocations: 75.95 kB / 0.5807 GB, free: 8.16 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.01659/0.9049, allocations: 5.758 MB / 0.5863 GB, free: 2.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.905, allocations: 11.94 kB / 0.5863 GB, free: 2.359 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.905, allocations: 15.81 kB / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.9054, allocations: 218.8 kB / 0.5865 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.9054, allocations: 0 / 0.5865 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.9055, allocations: 8.641 kB / 0.5865 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.604e-05/0.9056, allocations: 12 kB / 0.5866 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.9057, allocations: 57.61 kB / 0.5866 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.9057, allocations: 4 kB / 0.5866 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.9057, allocations: 0 / 0.5866 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.9058, allocations: 4 kB / 0.5866 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.9062, allocations: 273.4 kB / 0.5869 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.9064, allocations: 50.62 kB / 0.5869 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.9064, allocations: 24.92 kB / 0.5869 GB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.9064, allocations: 0 / 0.5869 GB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.9065, allocations: 63.34 kB / 0.587 GB, free: 1.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.9065, allocations: 0 / 0.587 GB, free: 1.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004459/0.907, allocations: 137.2 kB / 0.5871 GB, free: 1.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.9071, allocations: 55.41 kB / 0.5872 GB, free: 1.328 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.9073, allocations: 197.9 kB / 0.5874 GB, free: 1.125 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.9073, allocations: 29.7 kB / 0.5874 GB, free: 1.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.9074, allocations: 99.98 kB / 0.5875 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.9074, allocations: 19.8 kB / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.9074, allocations: 3.938 kB / 0.5875 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9076, allocations: 330.7 kB / 0.5878 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.619e-05/0.9076, allocations: 12 kB / 0.5879 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.961e-05/0.9077, allocations: 33.7 kB / 0.5879 GB, free: 0.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.9077, allocations: 27.98 kB / 0.5879 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.9077, allocations: 0 / 0.5879 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001633/0.9079, allocations: 97.42 kB / 0.588 GB, free: 464 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.9079, allocations: 4 kB / 0.588 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.9079, allocations: 0 / 0.588 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.9079, allocations: 4 kB / 0.588 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.908, allocations: 16 kB / 0.588 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.9081, allocations: 0 / 0.588 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.9081, allocations: 7.984 kB / 0.588 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.9081, allocations: 4.031 kB / 0.588 GB, free: 428 kB / 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 6.561e-05/0.9082, allocations: 105 kB / 0.5881 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.9083, allocations: 15.81 kB / 0.5882 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.9085, allocations: 103 kB / 0.5883 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.9085, allocations: 0 / 0.5883 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.9085, allocations: 3.906 kB / 0.5883 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.9085, allocations: 0 / 0.5883 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.909, allocations: 384.2 kB / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.909, allocations: 3.906 kB / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.9091, allocations: 15.98 kB / 0.5886 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.9091, allocations: 3.938 kB / 0.5886 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.9091, allocations: 0 / 0.5886 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.9091, allocations: 240 / 0.5886 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/0.9091, allocations: 11.88 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001934/0.9093, allocations: 206.1 kB / 0.5889 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003654/0.9097, allocations: 0.5842 MB / 0.5894 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.9098, allocations: 93.02 kB / 0.5895 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.9098, allocations: 3.984 kB / 0.5895 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.9099, allocations: 8 kB / 0.5895 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.9099, allocations: 7.906 kB / 0.5895 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.91, allocations: 3.984 kB / 0.5895 GB, free: 14.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001174/0.9101, allocations: 159.2 kB / 0.5897 GB, free: 14.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000842/0.9109, allocations: 39.94 kB / 0.5897 GB, free: 14.56 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.0007005/0.9116, allocations: 356.5 kB / 0.5901 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.9118, allocations: 51.94 kB / 0.5901 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9118, allocations: 0 / 0.5901 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/0.9118, allocations: 28 kB / 0.5901 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.9121, allocations: 24.77 kB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.9126, allocations: 189 kB / 0.5903 GB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.9129, allocations: 0.7348 MB / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.9129, allocations: 0 / 0.5911 GB, free: 13.21 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)