Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7143/0.7143, allocations: 127.4 MB / 134.6 MB, free: 4.113 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001404, allocations: 181.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.1 MB / 399.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009698/0.0009699, allocations: 94.58 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.063e-05/1.08e-05, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2126, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.452/5.665, allocations: 2.161 GB / 2.781 GB, free: 52.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/5.665, allocations: 81.3 kB / 2.782 GB, free: 52.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1159/5.781, allocations: 51.38 MB / 2.832 GB, free: 104 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.202e-05/5.781, allocations: 8 kB / 2.832 GB, free: 96 kB / 0.6355 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.3322/6.113, allocations: 0.5635 MB / 2.832 GB, free: 277.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/6.113, allocations: 11.66 kB / 2.832 GB, free: 277.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/6.115, allocations: 143.3 kB / 2.832 GB, free: 277.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/6.115, allocations: 235.1 kB / 2.833 GB, free: 277 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/6.115, allocations: 11.41 kB / 2.833 GB, free: 277 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/6.115, allocations: 11.62 kB / 2.833 GB, free: 277 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005774/6.116, allocations: 311.1 kB / 2.833 GB, free: 277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/6.116, allocations: 287.8 kB / 2.833 GB, free: 276.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/6.116, allocations: 3.906 kB / 2.833 GB, free: 276.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/6.116, allocations: 3.969 kB / 2.833 GB, free: 276.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/6.116, allocations: 22.95 kB / 2.833 GB, free: 276.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/6.118, allocations: 1.135 MB / 2.834 GB, free: 276.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/6.118, allocations: 183.2 kB / 2.835 GB, free: 276 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/6.119, allocations: 76.28 kB / 2.835 GB, free: 276 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00053/6.119, allocations: 359.8 kB / 2.835 GB, free: 275.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/6.119, allocations: 36.84 kB / 2.835 GB, free: 275.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 3.397e-06/6.119, allocations: 3.25 kB / 2.835 GB, free: 275.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0006634/6.12, allocations: 169.4 kB / 2.835 GB, free: 275.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/6.12, allocations: 58.62 kB / 2.835 GB, free: 275.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/6.12, allocations: 150.5 kB / 2.835 GB, free: 275.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/6.12, allocations: 25.7 kB / 2.835 GB, free: 275.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/6.12, allocations: 152.3 kB / 2.836 GB, free: 275.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/6.12, allocations: 70.23 kB / 2.836 GB, free: 275.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/6.12, allocations: 0 / 2.836 GB, free: 275.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001209/6.12, allocations: 325.7 kB / 2.836 GB, free: 274.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/6.121, allocations: 71.83 kB / 2.836 GB, free: 274.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/6.121, allocations: 159.6 kB / 2.836 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/6.121, allocations: 87.12 kB / 2.836 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/6.121, allocations: 0 / 2.836 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004616/6.121, allocations: 256.2 kB / 2.836 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/6.121, allocations: 7.75 kB / 2.836 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/6.121, allocations: 3.719 kB / 2.836 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/6.121, allocations: 7.875 kB / 2.836 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/6.122, allocations: 53.67 kB / 2.837 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/6.122, allocations: 3.906 kB / 2.837 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/6.122, allocations: 34.75 kB / 2.837 GB, free: 274.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/6.122, allocations: 11.75 kB / 2.837 GB, free: 274.8 MB / 0.6355 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 0.0001162/6.122, allocations: 110.9 kB / 2.837 GB, free: 274.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/6.122, allocations: 18.31 kB / 2.837 GB, free: 274.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/6.123, allocations: 220.2 kB / 2.837 GB, free: 274.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/6.123, allocations: 10.38 kB / 2.837 GB, free: 274.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/6.123, allocations: 1.312 kB / 2.837 GB, free: 274.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/6.123, allocations: 0 / 2.837 GB, free: 274.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/6.124, allocations: 475 kB / 2.837 GB, free: 274.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/6.124, allocations: 0 / 2.837 GB, free: 274.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/6.124, allocations: 38.03 kB / 2.837 GB, free: 274.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/6.124, allocations: 0 / 2.837 GB, free: 274.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/6.124, allocations: 0 / 2.837 GB, free: 274.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/6.124, allocations: 11.16 kB / 2.837 GB, free: 274.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/6.124, allocations: 0 / 2.837 GB, free: 274.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003925/6.124, allocations: 298.2 kB / 2.838 GB, free: 274.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/6.124, allocations: 126.5 kB / 2.838 GB, free: 274.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/6.124, allocations: 0 / 2.838 GB, free: 274.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/6.125, allocations: 9.078 kB / 2.838 GB, free: 274.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/6.125, allocations: 10.92 kB / 2.838 GB, free: 274.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/6.125, allocations: 13.92 kB / 2.838 GB, free: 274.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.397e-05/6.125, allocations: 123.1 kB / 2.838 GB, free: 274 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007094/6.126, allocations: 137.1 kB / 2.838 GB, free: 274 MB / 0.6355 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.001153/6.127, allocations: 0.7319 MB / 2.839 GB, free: 273.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004072/6.127, allocations: 180.2 kB / 2.839 GB, free: 273.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/6.127, allocations: 0 / 2.839 GB, free: 273.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/6.127, allocations: 78.5 kB / 2.839 GB, free: 273.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/6.128, allocations: 41.42 kB / 2.839 GB, free: 273.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/6.129, allocations: 222.5 kB / 2.839 GB, free: 273.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/6.129, allocations: 0.7734 MB / 2.84 GB, free: 273.1 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/6.129, allocations: 0 / 2.84 GB, free: 273.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.0134/6.142, allocations: 7.617 MB / 2.848 GB, free: 272.7 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe 2>&1)