Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.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.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation") [: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.7013/0.7013, allocations: 127.4 MB / 134.6 MB, free: 4.062 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.001263/0.001264, allocations: 193.3 kB / 164.4 MB, free: 6.871 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.874/1.874, allocations: 205.1 MB / 399.1 MB, free: 6.145 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.001034/0.001034, allocations: 85.31 kB / 476.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.235e-06/8.325e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2175, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.3/11.52, allocations: 4.569 GB / 5.19 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/11.52, allocations: 83.94 kB / 5.19 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.9595/12.48, allocations: 254.4 MB / 5.439 GB, free: 95.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.2e-05/12.48, allocations: 12 kB / 5.439 GB, free: 95.27 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00261/12.48, allocations: 0.7589 MB / 5.44 GB, free: 94.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/12.48, allocations: 8.031 kB / 5.44 GB, free: 94.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006008/12.48, allocations: 59.45 kB / 5.44 GB, free: 94.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/12.48, allocations: 324.6 kB / 5.44 GB, free: 94.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/12.48, allocations: 16 kB / 5.44 GB, free: 94.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/12.48, allocations: 27.94 kB / 5.44 GB, free: 94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007621/12.48, allocations: 357.4 kB / 5.44 GB, free: 93.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/12.48, allocations: 334.1 kB / 5.441 GB, free: 93.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/12.48, allocations: 0 / 5.441 GB, free: 93.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/12.48, allocations: 7.938 kB / 5.441 GB, free: 93.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/12.48, allocations: 11.91 kB / 5.441 GB, free: 93.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/12.48, allocations: 1.474 MB / 5.442 GB, free: 91.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/12.48, allocations: 220.5 kB / 5.442 GB, free: 91.49 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/12.48, allocations: 140.8 kB / 5.442 GB, free: 91.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/12.49, allocations: 12.36 kB / 5.442 GB, free: 91.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/12.49, allocations: 34.56 kB / 5.442 GB, free: 91.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 3.897e-06/12.49, allocations: 0 / 5.442 GB, free: 91.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41): time 0.003377/12.49, allocations: 1.276 MB / 5.444 GB, free: 89.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/12.49, allocations: 55.41 kB / 5.444 GB, free: 89.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/12.49, allocations: 220.1 kB / 5.444 GB, free: 89.67 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/12.49, allocations: 25.7 kB / 5.444 GB, free: 89.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.946e-05/12.49, allocations: 184.2 kB / 5.444 GB, free: 89.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.265e-05/12.49, allocations: 138 kB / 5.444 GB, free: 89.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/12.49, allocations: 0 / 5.444 GB, free: 89.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/12.49, allocations: 342.7 kB / 5.445 GB, free: 88.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/12.49, allocations: 156.8 kB / 5.445 GB, free: 88.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/12.49, allocations: 195.3 kB / 5.445 GB, free: 88.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/12.49, allocations: 196.7 kB / 5.445 GB, free: 88.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/12.49, allocations: 0 / 5.445 GB, free: 88.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009393/12.49, allocations: 0.5051 MB / 5.446 GB, free: 87.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/12.49, allocations: 8 kB / 5.446 GB, free: 87.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/12.49, allocations: 0 / 5.446 GB, free: 87.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/12.49, allocations: 102.5 kB / 5.446 GB, free: 87.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/12.49, allocations: 111.9 kB / 5.446 GB, free: 87.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/12.5, allocations: 3.973 MB / 5.45 GB, free: 83.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/12.5, allocations: 28.05 kB / 5.45 GB, free: 83.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/12.5, allocations: 12 kB / 5.45 GB, free: 83.32 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003074/12.5, allocations: 128.9 kB / 5.45 GB, free: 83.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/12.5, allocations: 31.7 kB / 5.45 GB, free: 83.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/12.5, allocations: 46.98 kB / 5.45 GB, free: 83.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/12.5, allocations: 4 kB / 5.45 GB, free: 83.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/12.5, allocations: 0 / 5.45 GB, free: 83.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007832/12.5, allocations: 0.6283 MB / 5.451 GB, free: 82.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/12.5, allocations: 1.042 MB / 5.452 GB, free: 81.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/12.5, allocations: 3.938 kB / 5.452 GB, free: 81.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/12.5, allocations: 116 kB / 5.452 GB, free: 81.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/12.5, allocations: 68.73 kB / 5.452 GB, free: 81.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/12.5, allocations: 4 kB / 5.452 GB, free: 81.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/12.5, allocations: 1.501 MB / 5.453 GB, free: 79.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/12.5, allocations: 0 / 5.453 GB, free: 79.51 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001167/12.5, allocations: 0.805 MB / 5.454 GB, free: 78.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/12.5, allocations: 164.7 kB / 5.454 GB, free: 78.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/12.5, allocations: 8.172 kB / 5.454 GB, free: 78.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/12.5, allocations: 15.98 kB / 5.454 GB, free: 78.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/12.5, allocations: 35.86 kB / 5.454 GB, free: 78.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/12.5, allocations: 23.97 kB / 5.454 GB, free: 78.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002198/12.5, allocations: 172.5 kB / 5.454 GB, free: 78.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001329/12.51, allocations: 195.9 kB / 5.455 GB, free: 78.02 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002271/12.51, allocations: 1.173 MB / 5.456 GB, free: 76.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001335/12.51, allocations: 0.6719 MB / 5.456 GB, free: 76.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/12.51, allocations: 4 kB / 5.456 GB, free: 76.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00057/12.51, allocations: 309.5 kB / 5.457 GB, free: 75.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/12.51, allocations: 167.8 kB / 5.457 GB, free: 75.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/12.51, allocations: 0.8591 MB / 5.458 GB, free: 74.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005367/12.51, allocations: 0.878 MB / 5.459 GB, free: 73.98 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/12.51, allocations: 0 / 5.459 GB, free: 73.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.02472/12.54, allocations: 14.49 MB / 5.473 GB, free: 59.55 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)