Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001057/0.001057, allocations: 196 kB / 8.539 MB, free: 1.82 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.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008969/0.0008969, allocations: 92.98 kB / 286.3 MB, free: 5.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09482/0.09574, allocations: 56.89 MB / 343.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09267/0.1884, allocations: 51.47 MB / 394.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.33/10.52, allocations: 6.123 GB / 6.509 GB, free: 103.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/10.52, allocations: 76.48 kB / 6.509 GB, free: 103.5 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 2.915/13.44, allocations: 0.8075 GB / 7.316 GB, free: 26.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/13.44, allocations: 10.53 kB / 7.316 GB, free: 26.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004783/13.44, allocations: 58.69 kB / 7.316 GB, free: 26.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/13.44, allocations: 376.8 kB / 7.316 GB, free: 26.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/13.44, allocations: 12.72 kB / 7.316 GB, free: 26.53 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/13.44, allocations: 27.36 kB / 7.317 GB, free: 26.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009532/13.44, allocations: 0.6623 MB / 7.317 GB, free: 26.53 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/13.44, allocations: 492 kB / 7.318 GB, free: 26.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/13.44, allocations: 1.75 kB / 7.318 GB, free: 26.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/13.44, allocations: 5.312 kB / 7.318 GB, free: 26.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/13.44, allocations: 9.812 kB / 7.318 GB, free: 26.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/13.45, allocations: 11.59 MB / 7.329 GB, free: 31.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/13.45, allocations: 369.2 kB / 7.329 GB, free: 31.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/13.46, allocations: 238.9 kB / 7.33 GB, free: 31.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02436/13.48, allocations: 21.02 MB / 7.35 GB, free: 26.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/13.48, allocations: 40.56 kB / 7.35 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.685e-06/13.48, allocations: 0 / 7.35 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.004758/13.48, allocations: 1.625 MB / 7.352 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/13.48, allocations: 59.86 kB / 7.352 GB, free: 26.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/13.48, allocations: 238.6 kB / 7.352 GB, free: 26.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/13.48, allocations: 25.7 kB / 7.352 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/13.49, allocations: 183.7 kB / 7.352 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/13.49, allocations: 180.6 kB / 7.352 GB, free: 25.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/13.49, allocations: 0 / 7.352 GB, free: 25.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001171/13.49, allocations: 346.8 kB / 7.353 GB, free: 25.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/13.49, allocations: 221.4 kB / 7.353 GB, free: 25.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/13.49, allocations: 314.9 kB / 7.353 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/13.49, allocations: 366.4 kB / 7.354 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/13.49, allocations: 0 / 7.354 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001881/13.49, allocations: 0.7859 MB / 7.354 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/13.49, allocations: 6.594 kB / 7.354 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/13.49, allocations: 0 / 7.354 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/13.49, allocations: 81.89 kB / 7.354 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/13.49, allocations: 128.6 kB / 7.355 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/13.49, allocations: 3.184 MB / 7.358 GB, free: 22.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/13.49, allocations: 36.78 kB / 7.358 GB, free: 22.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/13.49, allocations: 36.17 kB / 7.358 GB, free: 22.42 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 (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.0002257/13.49, allocations: 119.2 kB / 7.358 GB, free: 22.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/13.49, allocations: 42.31 kB / 7.358 GB, free: 22.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/13.49, allocations: 0.9132 MB / 7.359 GB, free: 22.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/13.49, allocations: 7.625 kB / 7.359 GB, free: 22.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/13.49, allocations: 0 / 7.359 GB, free: 22.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/13.5, allocations: 0.7936 MB / 7.36 GB, free: 21.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/13.5, allocations: 1.293 MB / 7.361 GB, free: 21.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/13.5, allocations: 0 / 7.361 GB, free: 21.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/13.5, allocations: 106.9 kB / 7.361 GB, free: 21.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/13.5, allocations: 74.22 kB / 7.361 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/13.5, allocations: 15.22 kB / 7.361 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005172/13.5, allocations: 0.6829 MB / 7.362 GB, free: 20.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/13.5, allocations: 0 / 7.362 GB, free: 20.91 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001669/13.5, allocations: 0.965 MB / 7.363 GB, free: 20.69 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00277/13.5, allocations: 1.793 MB / 7.364 GB, free: 20.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/13.5, allocations: 123.2 kB / 7.364 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/13.5, allocations: 9.375 kB / 7.364 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/13.5, allocations: 19.75 kB / 7.364 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/13.5, allocations: 43.12 kB / 7.365 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.969e-05/13.5, allocations: 36.03 kB / 7.365 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002024/13.5, allocations: 204.3 kB / 7.365 GB, free: 19.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01027/13.51, allocations: 2.303 MB / 7.367 GB, free: 19.5 MB / 0.4948 GB 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.01523/13.53, allocations: 3.159 MB / 7.37 GB, free: 18.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001417/13.53, allocations: 0.7551 MB / 7.371 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/13.53, allocations: 3.812 kB / 7.371 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004364/13.53, allocations: 296.8 kB / 7.371 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/13.53, allocations: 182.3 kB / 7.371 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/13.54, allocations: 0.8419 MB / 7.372 GB, free: 18.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006337/13.54, allocations: 0.9187 MB / 7.373 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/13.54, allocations: 2.531 kB / 7.373 GB, free: 17.84 MB / 0.4948 GB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)