Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json 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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 179.6 kB / 8.476 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.2 MB / 214.1 MB, free: 5.5 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009329/0.000933, allocations: 94.17 kB / 262.1 MB, free: 5.555 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2043/0.2053, allocations: 52.96 MB / 315.1 MB, free: 41.44 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.2894, allocations: 47.57 MB / 362.6 MB, free: 9.906 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.11/12.4, allocations: 6.597 GB / 6.951 GB, free: 55.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/12.4, allocations: 75.95 kB / 6.951 GB, free: 55.88 MB / 426.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.565/14.97, allocations: 0.6644 GB / 7.615 GB, free: 20.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/14.97, allocations: 11.34 kB / 7.615 GB, free: 20.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008882/14.97, allocations: 80.03 kB / 7.615 GB, free: 20.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/14.97, allocations: 448.4 kB / 7.616 GB, free: 20.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.979e-05/14.97, allocations: 19.25 kB / 7.616 GB, free: 20.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/14.97, allocations: 39.78 kB / 7.616 GB, free: 20.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00178/14.97, allocations: 0.9251 MB / 7.617 GB, free: 20.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/14.97, allocations: 0.6532 MB / 7.617 GB, free: 20.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/14.97, allocations: 3.125 kB / 7.617 GB, free: 20.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/14.98, allocations: 3.875 kB / 7.617 GB, free: 20.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/14.98, allocations: 11.62 kB / 7.617 GB, free: 20.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01647/14.99, allocations: 12.38 MB / 7.629 GB, free: 25.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/14.99, allocations: 0.5015 MB / 7.63 GB, free: 25.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/14.99, allocations: 373.4 kB / 7.63 GB, free: 25.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04083/15.03, allocations: 30.81 MB / 7.66 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/15.03, allocations: 43.09 kB / 7.66 GB, free: 10.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=78): time 5.1e-06/15.03, allocations: 0 / 7.66 GB, free: 10.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=88): time 0.008377/15.04, allocations: 2.502 MB / 7.663 GB, free: 9.387 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/15.04, allocations: 61.47 kB / 7.663 GB, free: 9.324 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/15.04, allocations: 259.4 kB / 7.663 GB, free: 9.184 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/15.04, allocations: 25.7 kB / 7.663 GB, free: 9.152 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/15.04, allocations: 222.6 kB / 7.663 GB, free: 8.973 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/15.04, allocations: 289.1 kB / 7.664 GB, free: 8.746 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/15.04, allocations: 0 / 7.664 GB, free: 8.746 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002388/15.04, allocations: 360.3 kB / 7.664 GB, free: 24.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/15.04, allocations: 345.4 kB / 7.664 GB, free: 24.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007103/15.05, allocations: 450.1 kB / 7.665 GB, free: 24.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/15.05, allocations: 0.5387 MB / 7.665 GB, free: 23.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/15.05, allocations: 0 / 7.665 GB, free: 23.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003316/15.05, allocations: 1.155 MB / 7.666 GB, free: 23.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/15.05, allocations: 4.906 kB / 7.666 GB, free: 23.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/15.05, allocations: 3.469 kB / 7.666 GB, free: 23.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003322/15.05, allocations: 111.5 kB / 7.667 GB, free: 23.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/15.05, allocations: 200.8 kB / 7.667 GB, free: 23.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/15.06, allocations: 3.86 MB / 7.67 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/15.06, allocations: 47.11 kB / 7.671 GB, free: 19.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/15.06, allocations: 57.89 kB / 7.671 GB, free: 19.64 MB / 490.7 MB 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.0003618/15.06, allocations: 124.2 kB / 7.671 GB, free: 19.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/15.06, allocations: 55.84 kB / 7.671 GB, free: 19.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/15.06, allocations: 1.402 MB / 7.672 GB, free: 18.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/15.06, allocations: 7.688 kB / 7.672 GB, free: 18.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/15.06, allocations: 0 / 7.672 GB, free: 18.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002455/15.06, allocations: 1.384 MB / 7.673 GB, free: 18.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/15.07, allocations: 1.945 MB / 7.675 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/15.07, allocations: 1.031 kB / 7.675 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000912/15.07, allocations: 171.3 kB / 7.676 GB, free: 17.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003374/15.07, allocations: 144.1 kB / 7.676 GB, free: 17.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.737e-05/15.07, allocations: 26.22 kB / 7.676 GB, free: 17.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/15.07, allocations: 1.36 MB / 7.677 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/15.07, allocations: 6.094 kB / 7.677 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003873/15.07, allocations: 1.493 MB / 7.679 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005206/15.08, allocations: 2.453 MB / 7.681 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/15.08, allocations: 135.8 kB / 7.681 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/15.08, allocations: 11.36 kB / 7.681 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008298/15.08, allocations: 44.59 kB / 7.681 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/15.08, allocations: 51.39 kB / 7.681 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/15.08, allocations: 54.56 kB / 7.681 GB, free: 13.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003481/15.08, allocations: 224.1 kB / 7.681 GB, free: 13.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01366/15.1, allocations: 2.673 MB / 7.684 GB, free: 12.06 MB / 490.7 MB 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.02102/15.12, allocations: 3.613 MB / 7.688 GB, free: 9.285 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002482/15.12, allocations: 1.106 MB / 7.689 GB, free: 8.223 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/15.12, allocations: 0 / 7.689 GB, free: 8.223 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/15.12, allocations: 494.7 kB / 7.689 GB, free: 7.766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/15.12, allocations: 277.6 kB / 7.689 GB, free: 7.582 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/15.13, allocations: 1.354 MB / 7.691 GB, free: 6.445 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/15.13, allocations: 1.037 MB / 7.692 GB, free: 5.48 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/15.13, allocations: 0 / 7.692 GB, free: 5.48 MB / 490.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)