Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",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/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 202.3 kB / 8.541 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008915/0.0008915, allocations: 98.23 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1041/0.105, allocations: 56.9 MB / 343.2 MB, free: 8.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/0.1914, allocations: 51.48 MB / 394.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.26/10.45, allocations: 6.123 GB / 6.509 GB, free: 95.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/10.45, allocations: 70.14 kB / 6.509 GB, free: 95.93 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 2.319/12.77, allocations: 0.6452 GB / 7.154 GB, free: 35.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/12.77, allocations: 13.97 kB / 7.154 GB, free: 35.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007474/12.77, allocations: 84.88 kB / 7.154 GB, free: 35.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/12.77, allocations: 441 kB / 7.154 GB, free: 35.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/12.77, allocations: 24.42 kB / 7.154 GB, free: 35.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/12.77, allocations: 39.91 kB / 7.154 GB, free: 35.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001621/12.77, allocations: 0.918 MB / 7.155 GB, free: 35.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/12.77, allocations: 0.6598 MB / 7.156 GB, free: 35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/12.77, allocations: 0 / 7.156 GB, free: 35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/12.77, allocations: 6.344 kB / 7.156 GB, free: 35 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/12.77, allocations: 19.62 kB / 7.156 GB, free: 34.99 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/12.79, allocations: 12.37 MB / 7.168 GB, free: 24.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/12.79, allocations: 0.4954 MB / 7.168 GB, free: 24.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/12.79, allocations: 371.3 kB / 7.169 GB, free: 24.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03508/12.83, allocations: 30.8 MB / 7.199 GB, free: 25.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/12.83, allocations: 47.41 kB / 7.199 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 3.156e-06/12.83, allocations: 0 / 7.199 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.008838/12.84, allocations: 2.494 MB / 7.201 GB, free: 24.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/12.84, allocations: 63.81 kB / 7.201 GB, free: 24.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/12.84, allocations: 257.2 kB / 7.202 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/12.84, allocations: 29.2 kB / 7.202 GB, free: 24.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/12.84, allocations: 224.1 kB / 7.202 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/12.84, allocations: 291.2 kB / 7.202 GB, free: 24.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/12.84, allocations: 3.281 kB / 7.202 GB, free: 24.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001883/12.84, allocations: 363.8 kB / 7.203 GB, free: 23.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/12.84, allocations: 340.2 kB / 7.203 GB, free: 23.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006847/12.84, allocations: 449.2 kB / 7.203 GB, free: 23.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/12.84, allocations: 0.537 MB / 7.204 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/12.84, allocations: 6.156 kB / 7.204 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002964/12.84, allocations: 1.15 MB / 7.205 GB, free: 23.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/12.84, allocations: 10.97 kB / 7.205 GB, free: 23.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/12.84, allocations: 6.906 kB / 7.205 GB, free: 23.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002888/12.84, allocations: 115.7 kB / 7.205 GB, free: 23.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/12.84, allocations: 189.2 kB / 7.205 GB, free: 23.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00326/12.85, allocations: 3.865 MB / 7.209 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/12.85, allocations: 46.44 kB / 7.209 GB, free: 20.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/12.85, allocations: 49.23 kB / 7.209 GB, free: 20.03 MB / 0.4948 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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003373/12.85, allocations: 130 kB / 7.209 GB, free: 19.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004602/12.85, allocations: 56.03 kB / 7.209 GB, free: 19.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/12.85, allocations: 1.391 MB / 7.211 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/12.85, allocations: 11.12 kB / 7.211 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/12.85, allocations: 0 / 7.211 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00208/12.85, allocations: 1.388 MB / 7.212 GB, free: 19.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/12.86, allocations: 1.946 MB / 7.214 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/12.86, allocations: 0 / 7.214 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/12.86, allocations: 177.7 kB / 7.214 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/12.86, allocations: 134 kB / 7.214 GB, free: 18.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/12.86, allocations: 25.8 kB / 7.214 GB, free: 18.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/12.86, allocations: 1.369 MB / 7.216 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/12.86, allocations: 2.438 kB / 7.216 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002765/12.86, allocations: 1.486 MB / 7.217 GB, free: 17.31 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003818/12.87, allocations: 2.44 MB / 7.219 GB, free: 16.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/12.87, allocations: 133.9 kB / 7.22 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/12.87, allocations: 9.875 kB / 7.22 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/12.87, allocations: 40.09 kB / 7.22 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/12.87, allocations: 55.14 kB / 7.22 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/12.87, allocations: 54.98 kB / 7.22 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002311/12.87, allocations: 228.4 kB / 7.22 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01084/12.88, allocations: 2.627 MB / 7.223 GB, free: 16.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01728/12.9, allocations: 3.434 MB / 7.226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002231/12.9, allocations: 1.101 MB / 7.227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/12.9, allocations: 3.156 kB / 7.227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007959/12.9, allocations: 493.8 kB / 7.227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/12.9, allocations: 279.2 kB / 7.228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/12.9, allocations: 1.365 MB / 7.229 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009237/12.9, allocations: 1.041 MB / 7.23 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of SimCode: time 3.51e-07/12.9, allocations: 0 / 7.23 GB, free: 14.2 MB / 0.4948 GB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)