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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation",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/BuildSysPro 3.5.0/package.mo): time 0.7426/0.7426, allocations: 127.4 MB / 134.6 MB, free: 4.109 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.001378/0.001378, allocations: 185.3 kB / 164.4 MB, free: 6.895 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.903/1.903, allocations: 205.1 MB / 399.1 MB, free: 6.168 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.001105/0.001105, allocations: 85.45 kB / 476.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4017/0.4029, allocations: 82.89 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.6268, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.52/12.15, allocations: 4.569 GB / 5.19 GB, free: 87.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/12.15, allocations: 79.95 kB / 5.19 GB, free: 87 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.9892/13.14, allocations: 255.1 MB / 5.44 GB, free: 81.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/13.14, allocations: 11.98 kB / 5.44 GB, free: 81.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005044/13.14, allocations: 55.44 kB / 5.44 GB, free: 81.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/13.14, allocations: 330.3 kB / 5.44 GB, free: 80.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/13.14, allocations: 12 kB / 5.44 GB, free: 80.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-05/13.14, allocations: 23.98 kB / 5.44 GB, free: 80.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006555/13.14, allocations: 357.4 kB / 5.44 GB, free: 80.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/13.14, allocations: 338.1 kB / 5.441 GB, free: 80.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/13.14, allocations: 7.891 kB / 5.441 GB, free: 80.08 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/13.14, allocations: 7.984 kB / 5.441 GB, free: 80.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/13.14, allocations: 8 kB / 5.441 GB, free: 80.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/13.15, allocations: 1.477 MB / 5.442 GB, free: 78.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/13.15, allocations: 210 kB / 5.442 GB, free: 78.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/13.15, allocations: 148.9 kB / 5.443 GB, free: 78.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/13.15, allocations: 12.52 kB / 5.443 GB, free: 78.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/13.15, allocations: 42.55 kB / 5.443 GB, free: 78.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/13.15, allocations: 0 / 5.443 GB, free: 78.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41): time 0.003065/13.15, allocations: 1.252 MB / 5.444 GB, free: 76.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/13.15, allocations: 63.39 kB / 5.444 GB, free: 76.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/13.15, allocations: 220.1 kB / 5.444 GB, free: 76.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/13.15, allocations: 25.7 kB / 5.444 GB, free: 76.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/13.15, allocations: 188.1 kB / 5.444 GB, free: 76.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/13.15, allocations: 134 kB / 5.444 GB, free: 76.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/13.15, allocations: 0 / 5.444 GB, free: 76.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/13.15, allocations: 338.7 kB / 5.445 GB, free: 75.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/13.15, allocations: 156.8 kB / 5.445 GB, free: 75.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/13.15, allocations: 207.2 kB / 5.445 GB, free: 75.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/13.15, allocations: 184.7 kB / 5.445 GB, free: 75.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/13.15, allocations: 0 / 5.445 GB, free: 75.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008188/13.15, allocations: 0.5131 MB / 5.446 GB, free: 74.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/13.15, allocations: 10.48 kB / 5.446 GB, free: 74.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/13.15, allocations: 0 / 5.446 GB, free: 74.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/13.15, allocations: 90.53 kB / 5.446 GB, free: 74.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/13.15, allocations: 119.9 kB / 5.446 GB, free: 74.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002632/13.15, allocations: 3.974 MB / 5.45 GB, free: 70.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/13.16, allocations: 27.91 kB / 5.45 GB, free: 70.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/13.16, allocations: 15.91 kB / 5.45 GB, free: 70.06 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.0002358/13.16, allocations: 124.2 kB / 5.45 GB, free: 69.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.273e-05/13.16, allocations: 31.62 kB / 5.45 GB, free: 69.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/13.16, allocations: 47.08 kB / 5.45 GB, free: 69.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/13.16, allocations: 4 kB / 5.45 GB, free: 69.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/13.16, allocations: 4 kB / 5.45 GB, free: 69.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007165/13.16, allocations: 0.6204 MB / 5.451 GB, free: 69.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/13.16, allocations: 1.046 MB / 5.452 GB, free: 68.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/13.16, allocations: 4 kB / 5.452 GB, free: 68.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000727/13.16, allocations: 111.9 kB / 5.452 GB, free: 67.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/13.16, allocations: 61.06 kB / 5.452 GB, free: 67.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/13.16, allocations: 15.97 kB / 5.452 GB, free: 67.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/13.16, allocations: 1.489 MB / 5.453 GB, free: 66.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/13.16, allocations: 15.94 kB / 5.453 GB, free: 66.24 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009537/13.16, allocations: 0.8011 MB / 5.454 GB, free: 65.37 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001411/13.16, allocations: 1.416 MB / 5.456 GB, free: 63.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/13.16, allocations: 160.7 kB / 5.456 GB, free: 63.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/13.16, allocations: 11.98 kB / 5.456 GB, free: 63.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/13.16, allocations: 19.92 kB / 5.456 GB, free: 63.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/13.16, allocations: 35.81 kB / 5.456 GB, free: 63.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/13.16, allocations: 23.97 kB / 5.456 GB, free: 63.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000144/13.16, allocations: 176.5 kB / 5.456 GB, free: 63.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001751/13.17, allocations: 299.9 kB / 5.456 GB, free: 63.16 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.001534/13.17, allocations: 1.173 MB / 5.457 GB, free: 61.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009722/13.17, allocations: 0.6791 MB / 5.458 GB, free: 61.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/13.17, allocations: 3.938 kB / 5.458 GB, free: 61.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004698/13.17, allocations: 313.4 kB / 5.458 GB, free: 60.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/13.17, allocations: 157.4 kB / 5.458 GB, free: 60.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/13.17, allocations: 0.851 MB / 5.459 GB, free: 59.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/13.17, allocations: 0.8858 MB / 5.46 GB, free: 58.98 MB / 0.6355 GB Notification: Performance of SimCode: time 3.51e-07/13.17, allocations: 0 / 5.46 GB, free: 58.98 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)