Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa") [: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 3.2.2+maint.om/package.mo): time 0.003751/0.003751, allocations: 186.9 kB / 7.461 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.268/1.268, allocations: 194.2 MB / 202.1 MB, free: 8.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001709/0.001709, allocations: 116.9 kB / 247.1 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1755/0.1754, allocations: 39.95 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.574e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.383, allocations: 0.6059 GB / 1.043 GB, free: 4.395 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/1.384, allocations: 74.92 kB / 1.043 GB, free: 4.355 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.3241/1.708, allocations: 44.7 MB / 1.087 GB, free: 170.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/1.708, allocations: 0 / 1.087 GB, free: 170.6 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006149/1.708, allocations: 426.1 kB / 1.087 GB, free: 170.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/1.708, allocations: 8.031 kB / 1.087 GB, free: 170.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/1.708, allocations: 7.906 kB / 1.087 GB, free: 170.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.466e-05/1.708, allocations: 172.8 kB / 1.087 GB, free: 169.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/1.709, allocations: 11.84 kB / 1.087 GB, free: 169.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/1.709, allocations: 4 kB / 1.087 GB, free: 169.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001073/1.709, allocations: 43.97 kB / 1.087 GB, free: 169.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.185e-05/1.709, allocations: 53.69 kB / 1.087 GB, free: 169.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.709, allocations: 4 kB / 1.087 GB, free: 169.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/1.709, allocations: 0 / 1.087 GB, free: 169.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.709, allocations: 7.969 kB / 1.087 GB, free: 169.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/1.709, allocations: 365.6 kB / 1.088 GB, free: 169.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.622e-05/1.709, allocations: 49.7 kB / 1.088 GB, free: 169.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/1.709, allocations: 16.86 kB / 1.088 GB, free: 169.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009852/1.71, allocations: 1.006 MB / 1.089 GB, free: 168.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/1.71, allocations: 30.56 kB / 1.089 GB, free: 168 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/1.71, allocations: 0 / 1.089 GB, free: 168 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.007352/1.718, allocations: 0.911 MB / 1.09 GB, free: 167.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/1.718, allocations: 59.41 kB / 1.09 GB, free: 167.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/1.718, allocations: 89 kB / 1.09 GB, free: 167 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/1.718, allocations: 25.7 kB / 1.09 GB, free: 166.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/1.718, allocations: 96.25 kB / 1.09 GB, free: 166.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/1.718, allocations: 47.3 kB / 1.09 GB, free: 166.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/1.718, allocations: 7.938 kB / 1.09 GB, free: 166.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.53e-05/1.718, allocations: 314.8 kB / 1.09 GB, free: 166.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/1.718, allocations: 71.98 kB / 1.09 GB, free: 166.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/1.718, allocations: 94.67 kB / 1.091 GB, free: 166.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/1.72, allocations: 233 kB / 1.091 GB, free: 166.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/1.72, allocations: 0 / 1.091 GB, free: 166.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001478/1.721, allocations: 377.2 kB / 1.091 GB, free: 165.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.721, allocations: 11.94 kB / 1.091 GB, free: 165.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.721, allocations: 0 / 1.091 GB, free: 165.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.721, allocations: 0 / 1.091 GB, free: 165.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/1.722, allocations: 55.94 kB / 1.091 GB, free: 165.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.722, allocations: 7.906 kB / 1.091 GB, free: 165.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/1.722, allocations: 16.27 kB / 1.091 GB, free: 165.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/1.722, allocations: 12.23 kB / 1.091 GB, free: 165.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.216e-05/1.722, allocations: 109 kB / 1.091 GB, free: 165.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/1.722, allocations: 11.84 kB / 1.091 GB, free: 165.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/1.724, allocations: 486.5 kB / 1.092 GB, free: 165 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/1.724, allocations: 8 kB / 1.092 GB, free: 165 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.724, allocations: 7.906 kB / 1.092 GB, free: 165 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.724, allocations: 3.984 kB / 1.092 GB, free: 165 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/1.726, allocations: 0.836 MB / 1.093 GB, free: 164 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.726, allocations: 0 / 1.093 GB, free: 164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/1.727, allocations: 47.89 kB / 1.093 GB, free: 164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/1.727, allocations: 0 / 1.093 GB, free: 164 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/1.727, allocations: 4 kB / 1.093 GB, free: 164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.727, allocations: 3.906 kB / 1.093 GB, free: 164 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.727, allocations: 0 / 1.093 GB, free: 164 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00149/1.728, allocations: 480.1 kB / 1.093 GB, free: 163.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/1.728, allocations: 101 kB / 1.093 GB, free: 163.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/1.728, allocations: 0 / 1.093 GB, free: 163.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/1.729, allocations: 7.984 kB / 1.093 GB, free: 163.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/1.729, allocations: 11.98 kB / 1.093 GB, free: 163.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/1.729, allocations: 15.89 kB / 1.093 GB, free: 163.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.085e-05/1.729, allocations: 83.28 kB / 1.093 GB, free: 163.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005829/1.73, allocations: 139.8 kB / 1.093 GB, free: 163.1 MB / 490.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.001159/1.731, allocations: 0.7364 MB / 1.094 GB, free: 162.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004023/1.731, allocations: 183.9 kB / 1.094 GB, free: 162.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.731, allocations: 0 / 1.094 GB, free: 162.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/1.731, allocations: 103.9 kB / 1.094 GB, free: 162.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/1.732, allocations: 28.03 kB / 1.095 GB, free: 162.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/1.732, allocations: 175.2 kB / 1.095 GB, free: 162 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/1.733, allocations: 0.7467 MB / 1.095 GB, free: 161.2 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/1.733, allocations: 0 / 1.095 GB, free: 161.2 MB / 490.7 MB Notification: Performance of Templates: time 0.01294/1.746, allocations: 8.86 MB / 1.104 GB, free: 152.4 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1)