Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.001735/0.001735, allocations: 176 kB / 8.476 MB, free: 1.883 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.315/1.315, allocations: 205.2 MB / 214.1 MB, free: 5.148 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.001012/0.001012, allocations: 90.25 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2008/0.2019, allocations: 52.96 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08352/0.2854, allocations: 47.58 MB / 362.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.22/11.51, allocations: 6.597 GB / 6.951 GB, free: 54.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/11.51, allocations: 74.53 kB / 6.951 GB, free: 54.48 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 3.076/14.59, allocations: 0.83 GB / 7.781 GB, free: 19.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/14.59, allocations: 7.625 kB / 7.781 GB, free: 19.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/14.59, allocations: 65.11 kB / 7.781 GB, free: 19.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/14.59, allocations: 358 kB / 7.781 GB, free: 19.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/14.59, allocations: 15.03 kB / 7.781 GB, free: 19.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/14.59, allocations: 21.91 kB / 7.781 GB, free: 19.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009409/14.59, allocations: 0.6741 MB / 7.782 GB, free: 19.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/14.59, allocations: 482 kB / 7.782 GB, free: 19.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/14.59, allocations: 7.906 kB / 7.782 GB, free: 19.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/14.59, allocations: 3.594 kB / 7.782 GB, free: 19.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/14.59, allocations: 9.312 kB / 7.782 GB, free: 19.08 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/14.6, allocations: 11.58 MB / 7.794 GB, free: 23.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/14.6, allocations: 378.5 kB / 7.794 GB, free: 23.76 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/14.6, allocations: 237.2 kB / 7.794 GB, free: 23.67 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02768/14.63, allocations: 21.03 MB / 7.815 GB, free: 18.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/14.63, allocations: 42.41 kB / 7.815 GB, free: 18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 5.12e-06/14.63, allocations: 0 / 7.815 GB, free: 18 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.005505/14.64, allocations: 1.62 MB / 7.816 GB, free: 17.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/14.64, allocations: 56.97 kB / 7.816 GB, free: 17.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/14.64, allocations: 233.1 kB / 7.817 GB, free: 17.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/14.64, allocations: 27.3 kB / 7.817 GB, free: 17.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/14.64, allocations: 195 kB / 7.817 GB, free: 16.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/14.64, allocations: 181.1 kB / 7.817 GB, free: 16.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/14.64, allocations: 0 / 7.817 GB, free: 16.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/14.64, allocations: 347.1 kB / 7.817 GB, free: 16.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/14.64, allocations: 215.5 kB / 7.818 GB, free: 16.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/14.64, allocations: 318.9 kB / 7.818 GB, free: 16.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/14.64, allocations: 363.2 kB / 7.818 GB, free: 16.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/14.64, allocations: 1.031 kB / 7.818 GB, free: 16.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00215/14.64, allocations: 0.7878 MB / 7.819 GB, free: 15.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/14.64, allocations: 12.62 kB / 7.819 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/14.64, allocations: 3.062 kB / 7.819 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/14.64, allocations: 81.05 kB / 7.819 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/14.64, allocations: 125.8 kB / 7.819 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/14.65, allocations: 3.179 MB / 7.822 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/14.65, allocations: 31.69 kB / 7.822 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.42e-05/14.65, allocations: 33.19 kB / 7.822 GB, free: 12.57 MB / 474.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {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.0002882/14.65, allocations: 137.1 kB / 7.823 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/14.65, allocations: 37.59 kB / 7.823 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/14.65, allocations: 0.9001 MB / 7.823 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/14.65, allocations: 5.875 kB / 7.823 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/14.65, allocations: 0 / 7.823 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001468/14.65, allocations: 0.7972 MB / 7.824 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/14.65, allocations: 1.297 MB / 7.826 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/14.65, allocations: 0.6875 kB / 7.826 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/14.65, allocations: 98.91 kB / 7.826 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/14.65, allocations: 72.64 kB / 7.826 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/14.65, allocations: 14.62 kB / 7.826 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006104/14.65, allocations: 0.6865 MB / 7.826 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/14.65, allocations: 3.938 kB / 7.826 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002177/14.66, allocations: 0.9626 MB / 7.827 GB, free: 9.758 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003385/14.66, allocations: 1.836 MB / 7.829 GB, free: 8.574 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/14.66, allocations: 121.2 kB / 7.829 GB, free: 8.457 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/14.66, allocations: 3.938 kB / 7.829 GB, free: 8.457 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/14.66, allocations: 26.56 kB / 7.829 GB, free: 8.449 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/14.66, allocations: 33.91 kB / 7.829 GB, free: 8.441 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/14.66, allocations: 35.53 kB / 7.829 GB, free: 8.438 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002403/14.66, allocations: 201.6 kB / 7.83 GB, free: 8.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01135/14.67, allocations: 2.337 MB / 7.832 GB, free: 6.434 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01696/14.69, allocations: 3.309 MB / 7.835 GB, free: 3.711 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/14.69, allocations: 0.7665 MB / 7.836 GB, free: 2.973 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/14.69, allocations: 3.938 kB / 7.836 GB, free: 2.969 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003968/14.69, allocations: 294.5 kB / 7.836 GB, free: 2.699 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/14.69, allocations: 187.2 kB / 7.836 GB, free: 2.562 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/14.69, allocations: 0.8354 MB / 7.837 GB, free: 1.805 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2491/14.94, allocations: 0.9252 MB / 7.838 GB, free: 85.43 MB / 474.7 MB Notification: Performance of SimCode: time 2.856e-06/14.94, allocations: 3.969 kB / 7.838 GB, free: 85.43 MB / 474.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)