Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",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 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 183.6 kB / 8.135 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.122/1.122, allocations: 221.4 MB / 229.9 MB, free: 3.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008873/0.0008873, allocations: 110.8 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09896/0.09988, allocations: 55.81 MB / 336.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.2974, allocations: 50.4 MB / 387 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7898/1.087, allocations: 0.536 GB / 0.9139 GB, free: 72.87 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/1.088, allocations: 81.73 kB / 0.914 GB, free: 72.83 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 1.108/2.195, allocations: 460.7 MB / 1.364 GB, free: 110.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/2.195, allocations: 11.16 kB / 1.364 GB, free: 110.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004464/2.196, allocations: 56.98 kB / 1.364 GB, free: 110.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/2.196, allocations: 281 kB / 1.364 GB, free: 109.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/2.196, allocations: 12.91 kB / 1.364 GB, free: 109.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/2.196, allocations: 13.66 kB / 1.364 GB, free: 109.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002645/2.196, allocations: 185 kB / 1.364 GB, free: 109.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/2.197, allocations: 290.9 kB / 1.365 GB, free: 109.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/2.197, allocations: 3.906 kB / 1.365 GB, free: 109.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/2.197, allocations: 3.531 kB / 1.365 GB, free: 109.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/2.197, allocations: 13.31 kB / 1.365 GB, free: 109.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009239/2.206, allocations: 5.479 MB / 1.37 GB, free: 106.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/2.206, allocations: 112.4 kB / 1.37 GB, free: 106.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/2.206, allocations: 77.64 kB / 1.37 GB, free: 106.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007654/2.214, allocations: 3.529 MB / 1.374 GB, free: 104.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/2.214, allocations: 41.44 kB / 1.374 GB, free: 104.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 3.927e-06/2.214, allocations: 0 / 1.374 GB, free: 104.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.00245/2.216, allocations: 0.8846 MB / 1.375 GB, free: 104.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/2.216, allocations: 55.77 kB / 1.375 GB, free: 104.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/2.217, allocations: 196.1 kB / 1.375 GB, free: 104.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/2.217, allocations: 25.7 kB / 1.375 GB, free: 104.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/2.217, allocations: 174.3 kB / 1.375 GB, free: 104.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/2.217, allocations: 88.8 kB / 1.375 GB, free: 104 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/2.217, allocations: 3.766 kB / 1.375 GB, free: 104 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.379e-05/2.217, allocations: 335.5 kB / 1.375 GB, free: 103.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/2.217, allocations: 85.11 kB / 1.376 GB, free: 103.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/2.217, allocations: 169.3 kB / 1.376 GB, free: 103.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/2.218, allocations: 155 kB / 1.376 GB, free: 103.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/2.218, allocations: 3.969 kB / 1.376 GB, free: 103.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008427/2.219, allocations: 401.2 kB / 1.376 GB, free: 103.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/2.219, allocations: 9.312 kB / 1.376 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/2.219, allocations: 0 / 1.376 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/2.219, allocations: 65.36 kB / 1.376 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/2.219, allocations: 75.42 kB / 1.376 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/2.22, allocations: 1.847 MB / 1.378 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/2.22, allocations: 22.97 kB / 1.378 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/2.22, allocations: 21.47 kB / 1.378 GB, free: 101.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 7.102e-05/2.221, allocations: 109.4 kB / 1.378 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/2.221, allocations: 27.19 kB / 1.378 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007987/2.221, allocations: 492 kB / 1.379 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/2.221, allocations: 0 / 1.379 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/2.221, allocations: 12.22 kB / 1.379 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006456/2.222, allocations: 0.7024 MB / 1.379 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/2.223, allocations: 0.8752 MB / 1.38 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/2.223, allocations: 4.031 kB / 1.38 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/2.223, allocations: 47.44 kB / 1.38 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/2.224, allocations: 94.94 kB / 1.38 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/2.224, allocations: 1.625 kB / 1.38 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000466/2.224, allocations: 0.6947 MB / 1.381 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/2.224, allocations: 0 / 1.381 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008801/2.225, allocations: 0.7083 MB / 1.382 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001153/2.226, allocations: 1.315 MB / 1.383 GB, free: 99.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/2.226, allocations: 100.2 kB / 1.383 GB, free: 99.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/2.226, allocations: 11.56 kB / 1.383 GB, free: 99.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/2.227, allocations: 7.859 kB / 1.383 GB, free: 99.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/2.227, allocations: 11.38 kB / 1.383 GB, free: 99.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/2.227, allocations: 14.95 kB / 1.383 GB, free: 99.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001005/2.227, allocations: 155 kB / 1.383 GB, free: 99.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00139/2.228, allocations: 230.5 kB / 1.384 GB, free: 99.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/2.229, allocations: 0.5575 MB / 1.384 GB, free: 99.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005684/2.23, allocations: 408.8 kB / 1.385 GB, free: 99.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/2.23, allocations: 3.969 kB / 1.385 GB, free: 99.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/2.23, allocations: 208.4 kB / 1.385 GB, free: 99.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/2.231, allocations: 107.7 kB / 1.385 GB, free: 99.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/2.232, allocations: 0.5584 MB / 1.385 GB, free: 98.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/2.232, allocations: 0.8217 MB / 1.386 GB, free: 98.09 MB / 442.7 MB Notification: Performance of SimCode: time 2.8e-07/2.232, allocations: 0.875 kB / 1.386 GB, free: 98.09 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat