Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",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.001728/0.001728, allocations: 176.1 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.17/1.17, allocations: 205.2 MB / 214.1 MB, free: 5.129 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.0008866/0.0008866, allocations: 83.3 kB / 262.1 MB, free: 5.188 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1782/0.1791, allocations: 52.98 MB / 315.1 MB, free: 41.37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07382/0.253, allocations: 47.58 MB / 362.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.291/6.544, allocations: 3.559 GB / 3.913 GB, free: 42.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/6.545, allocations: 99.86 kB / 3.913 GB, free: 42.6 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 1.183/7.728, allocations: 318.6 MB / 4.225 GB, free: 60.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/7.728, allocations: 8 kB / 4.225 GB, free: 60.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006625/7.728, allocations: 59.42 kB / 4.225 GB, free: 60.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000807/7.729, allocations: 353.8 kB / 4.225 GB, free: 59.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/7.729, allocations: 16 kB / 4.225 GB, free: 59.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/7.729, allocations: 24 kB / 4.225 GB, free: 59.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001158/7.731, allocations: 0.5715 MB / 4.226 GB, free: 59.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008327/7.731, allocations: 436.4 kB / 4.226 GB, free: 58.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/7.731, allocations: 3.719 kB / 4.226 GB, free: 58.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/7.732, allocations: 3.906 kB / 4.226 GB, free: 58.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/7.732, allocations: 16 kB / 4.226 GB, free: 58.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/7.735, allocations: 2.068 MB / 4.228 GB, free: 56.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/7.736, allocations: 371.2 kB / 4.228 GB, free: 56.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003563/7.736, allocations: 243.8 kB / 4.229 GB, free: 55.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005093/7.737, allocations: 0.7001 MB / 4.229 GB, free: 54.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/7.737, allocations: 39 kB / 4.229 GB, free: 54.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 4.348e-06/7.737, allocations: 0 / 4.229 GB, free: 54.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.0119/7.749, allocations: 2.901 MB / 4.232 GB, free: 51.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/7.749, allocations: 64.05 kB / 4.232 GB, free: 51.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/7.749, allocations: 218.8 kB / 4.232 GB, free: 51.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001333/7.749, allocations: 25.7 kB / 4.232 GB, free: 51.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/7.749, allocations: 177 kB / 4.233 GB, free: 51.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/7.75, allocations: 212.8 kB / 4.233 GB, free: 51.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/7.75, allocations: 4 kB / 4.233 GB, free: 51.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.209e-05/7.75, allocations: 350.8 kB / 4.233 GB, free: 50.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/7.75, allocations: 261.2 kB / 4.233 GB, free: 50.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/7.751, allocations: 331 kB / 4.234 GB, free: 50.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008727/7.752, allocations: 367 kB / 4.234 GB, free: 49.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/7.752, allocations: 0 / 4.234 GB, free: 49.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002053/7.754, allocations: 0.927 MB / 4.235 GB, free: 48.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/7.754, allocations: 4 kB / 4.235 GB, free: 48.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/7.754, allocations: 0 / 4.235 GB, free: 48.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/7.755, allocations: 270.4 kB / 4.235 GB, free: 48.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/7.755, allocations: 125.8 kB / 4.235 GB, free: 48.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/7.758, allocations: 3.336 MB / 4.239 GB, free: 44.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007878/7.759, allocations: 55.86 kB / 4.239 GB, free: 44.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/7.759, allocations: 27.98 kB / 4.239 GB, free: 44.9 MB / 426.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: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003082/7.759, allocations: 137.2 kB / 4.239 GB, free: 44.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/7.759, allocations: 35.62 kB / 4.239 GB, free: 44.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/7.764, allocations: 1.298 MB / 4.24 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/7.764, allocations: 4 kB / 4.24 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/7.764, allocations: 4 kB / 4.24 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00381/7.767, allocations: 1.345 MB / 4.241 GB, free: 41.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/7.771, allocations: 1.666 MB / 4.243 GB, free: 40.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/7.771, allocations: 0 / 4.243 GB, free: 40.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006728/7.771, allocations: 119.8 kB / 4.243 GB, free: 40.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/7.773, allocations: 308.4 kB / 4.244 GB, free: 39.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-05/7.773, allocations: 23.89 kB / 4.244 GB, free: 39.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008571/7.774, allocations: 0.8278 MB / 4.244 GB, free: 38.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/7.774, allocations: 4 kB / 4.244 GB, free: 38.96 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002237/7.776, allocations: 1.399 MB / 4.246 GB, free: 37.45 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00296/7.779, allocations: 2.229 MB / 4.248 GB, free: 35.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/7.779, allocations: 116.6 kB / 4.248 GB, free: 34.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/7.78, allocations: 11.98 kB / 4.248 GB, free: 34.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/7.78, allocations: 59.8 kB / 4.248 GB, free: 34.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/7.78, allocations: 44.44 kB / 4.248 GB, free: 34.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/7.781, allocations: 35.97 kB / 4.248 GB, free: 34.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001759/7.781, allocations: 180.3 kB / 4.248 GB, free: 34.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003187/7.784, allocations: 0.6245 MB / 4.249 GB, free: 34.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00328/7.787, allocations: 1.36 MB / 4.25 GB, free: 32.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001768/7.789, allocations: 0.8725 MB / 4.251 GB, free: 31.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/7.789, allocations: 0 / 4.251 GB, free: 31.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007214/7.79, allocations: 374 kB / 4.251 GB, free: 31.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/7.791, allocations: 225.6 kB / 4.252 GB, free: 31.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/7.794, allocations: 1.086 MB / 4.253 GB, free: 30.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/7.795, allocations: 0.9361 MB / 4.254 GB, free: 29.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/7.795, allocations: 0 / 4.254 GB, free: 29.25 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)