Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirProperties") translateModel(Annex60.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirProperties") [: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/Annex60 1.0.0/package.mo): time 0.4152/0.4152, allocations: 54.4 MB / 61.67 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001334/0.001335, allocations: 187.9 kB / 75.38 MB, free: 1.492 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.652/1.652, allocations: 194.2 MB / 283.2 MB, free: 3.512 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001644/0.001644, allocations: 103.6 kB / 341.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.594e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1421, allocations: 57.64 MB / 462.6 MB, free: 1.996 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.213/5.355, allocations: 2.145 GB / 2.596 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/5.355, allocations: 67.97 kB / 2.596 GB, free: 58.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1065/5.462, allocations: 49.9 MB / 2.645 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.807e-05/5.462, allocations: 8 kB / 2.645 GB, free: 8.324 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001268/5.463, allocations: 0.5653 MB / 2.646 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/5.463, allocations: 11.97 kB / 2.646 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/5.465, allocations: 147.5 kB / 2.646 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/5.465, allocations: 226.7 kB / 2.646 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/5.465, allocations: 11.94 kB / 2.646 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/5.465, allocations: 8 kB / 2.646 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005283/5.466, allocations: 320.7 kB / 2.646 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/5.466, allocations: 286.6 kB / 2.647 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/5.466, allocations: 3.938 kB / 2.647 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/5.466, allocations: 0 / 2.647 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/5.466, allocations: 12.38 kB / 2.647 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/5.468, allocations: 1.154 MB / 2.648 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/5.468, allocations: 170.5 kB / 2.648 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/5.468, allocations: 72.83 kB / 2.648 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/5.469, allocations: 360.5 kB / 2.648 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/5.469, allocations: 42.55 kB / 2.649 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 2.315e-06/5.469, allocations: 4 kB / 2.649 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20): time 0.0004973/5.469, allocations: 177.5 kB / 2.649 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/5.469, allocations: 55.41 kB / 2.649 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/5.469, allocations: 153.2 kB / 2.649 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/5.469, allocations: 25.7 kB / 2.649 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/5.47, allocations: 155.7 kB / 2.649 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/5.47, allocations: 66.95 kB / 2.649 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/5.47, allocations: 0 / 2.649 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.583e-05/5.47, allocations: 326.8 kB / 2.649 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.621e-05/5.47, allocations: 68.23 kB / 2.65 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/5.47, allocations: 156.5 kB / 2.65 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/5.47, allocations: 88.62 kB / 2.65 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/5.47, allocations: 8 kB / 2.65 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004347/5.471, allocations: 255.5 kB / 2.65 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/5.471, allocations: 4 kB / 2.65 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/5.471, allocations: 4 kB / 2.65 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/5.471, allocations: 4.406 kB / 2.65 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/5.471, allocations: 63.91 kB / 2.65 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/5.471, allocations: 4 kB / 2.65 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/5.471, allocations: 31.78 kB / 2.65 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/5.471, allocations: 11.94 kB / 2.65 GB, free: 2.945 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.859e-05/5.471, allocations: 116.8 kB / 2.65 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/5.471, allocations: 15.81 kB / 2.65 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/5.472, allocations: 214.2 kB / 2.65 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/5.472, allocations: 0 / 2.65 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/5.472, allocations: 0 / 2.65 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/5.472, allocations: 7.984 kB / 2.65 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/5.472, allocations: 483.6 kB / 2.651 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/5.472, allocations: 0 / 2.651 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/5.473, allocations: 31.92 kB / 2.651 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/5.473, allocations: 4.031 kB / 2.651 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/5.473, allocations: 4 kB / 2.651 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/5.473, allocations: 4 kB / 2.651 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/5.473, allocations: 0 / 2.651 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003524/5.473, allocations: 301.7 kB / 2.651 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/5.473, allocations: 120.8 kB / 2.651 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/5.473, allocations: 0 / 2.651 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/5.474, allocations: 11.98 kB / 2.651 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/5.474, allocations: 7.984 kB / 2.651 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/5.474, allocations: 12 kB / 2.651 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.172e-05/5.474, allocations: 119.9 kB / 2.651 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000687/5.474, allocations: 147.8 kB / 2.652 GB, free: 1.277 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001067/5.475, allocations: 0.7338 MB / 2.652 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002883/5.476, allocations: 176.4 kB / 2.653 GB, free: 372 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/5.476, allocations: 4 kB / 2.653 GB, free: 368 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.343e-05/5.476, allocations: 79.84 kB / 2.653 GB, free: 288 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/5.476, allocations: 46.52 kB / 2.653 GB, free: 244 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2691/5.745, allocations: 232.3 kB / 2.653 GB, free: 211.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004413/5.746, allocations: 0.763 MB / 2.654 GB, free: 210.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.322e-06/5.746, allocations: 6.438 kB / 2.654 GB, free: 210.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.0133/5.759, allocations: 7.5 MB / 2.661 GB, free: 210.4 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirProperties.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirProperties.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe 2>&1)