Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",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.002495/0.002495, allocations: 174.3 kB / 8.471 MB, free: 1.879 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.548/1.548, allocations: 205.2 MB / 214.1 MB, free: 5.164 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.001139/0.00114, allocations: 82.33 kB / 262.1 MB, free: 5.223 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2363/0.2375, allocations: 52.97 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.3421, allocations: 47.57 MB / 362.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/1.669, allocations: 0.6377 GB / 0.9918 GB, free: 70.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/1.67, allocations: 71.12 kB / 0.9919 GB, free: 70.73 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.49/2.16, allocations: 148 MB / 1.136 GB, free: 103.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/2.16, allocations: 10.66 kB / 1.136 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007503/2.161, allocations: 79.39 kB / 1.136 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/2.161, allocations: 334.1 kB / 1.137 GB, free: 102.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/2.161, allocations: 16 kB / 1.137 GB, free: 102.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/2.161, allocations: 23.91 kB / 1.137 GB, free: 102.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004914/2.162, allocations: 265.5 kB / 1.137 GB, free: 102.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/2.162, allocations: 386.8 kB / 1.137 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/2.162, allocations: 7.938 kB / 1.137 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/2.162, allocations: 0 / 1.137 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/2.162, allocations: 15.98 kB / 1.137 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/2.174, allocations: 6.283 MB / 1.144 GB, free: 95.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/2.174, allocations: 169.8 kB / 1.144 GB, free: 94.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/2.174, allocations: 133 kB / 1.144 GB, free: 94.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008326/2.183, allocations: 3.529 MB / 1.147 GB, free: 90.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/2.183, allocations: 38.56 kB / 1.147 GB, free: 90.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.577e-06/2.183, allocations: 7.984 kB / 1.147 GB, free: 90.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.004406/2.187, allocations: 1.41 MB / 1.149 GB, free: 89.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/2.187, allocations: 55.41 kB / 1.149 GB, free: 89.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/2.188, allocations: 236.9 kB / 1.149 GB, free: 89.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/2.188, allocations: 29.69 kB / 1.149 GB, free: 89.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/2.188, allocations: 200 kB / 1.149 GB, free: 88.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.233e-05/2.188, allocations: 157.7 kB / 1.149 GB, free: 88.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/2.188, allocations: 4 kB / 1.149 GB, free: 88.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/2.188, allocations: 342.9 kB / 1.15 GB, free: 88.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/2.188, allocations: 133.3 kB / 1.15 GB, free: 88.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/2.188, allocations: 259.4 kB / 1.15 GB, free: 87.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007405/2.189, allocations: 256.6 kB / 1.15 GB, free: 87.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/2.189, allocations: 4 kB / 1.15 GB, free: 87.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001366/2.19, allocations: 0.6026 MB / 1.151 GB, free: 87.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/2.19, allocations: 8 kB / 1.151 GB, free: 87.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/2.19, allocations: 7.938 kB / 1.151 GB, free: 87.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/2.191, allocations: 110.8 kB / 1.151 GB, free: 86.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/2.191, allocations: 103.9 kB / 1.151 GB, free: 86.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/2.193, allocations: 2.481 MB / 1.154 GB, free: 84.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/2.193, allocations: 35.92 kB / 1.154 GB, free: 84.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/2.193, allocations: 20 kB / 1.154 GB, free: 84.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001138/2.193, allocations: 120.8 kB / 1.154 GB, free: 84.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/2.193, allocations: 31.62 kB / 1.154 GB, free: 84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/2.195, allocations: 0.8285 MB / 1.155 GB, free: 83.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/2.195, allocations: 15.89 kB / 1.155 GB, free: 83.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/2.195, allocations: 0 / 1.155 GB, free: 83.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/2.196, allocations: 0.9386 MB / 1.156 GB, free: 82.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/2.199, allocations: 1.412 MB / 1.157 GB, free: 80.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/2.199, allocations: 3.984 kB / 1.157 GB, free: 80.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/2.199, allocations: 71.91 kB / 1.157 GB, free: 80.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004809/2.199, allocations: 185.5 kB / 1.157 GB, free: 80.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/2.199, allocations: 11.91 kB / 1.157 GB, free: 80.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/2.201, allocations: 1.374 MB / 1.159 GB, free: 78.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/2.201, allocations: 4 kB / 1.159 GB, free: 78.97 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001567/2.202, allocations: 1.202 MB / 1.16 GB, free: 77.74 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00196/2.204, allocations: 1.937 MB / 1.162 GB, free: 75.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/2.204, allocations: 112.5 kB / 1.162 GB, free: 75.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/2.204, allocations: 8 kB / 1.162 GB, free: 75.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/2.205, allocations: 15.98 kB / 1.162 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/2.205, allocations: 27.86 kB / 1.162 GB, free: 75.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/2.205, allocations: 19.98 kB / 1.162 GB, free: 75.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001662/2.205, allocations: 173.2 kB / 1.162 GB, free: 75.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001649/2.207, allocations: 251.8 kB / 1.162 GB, free: 75.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001743/2.208, allocations: 0.5172 MB / 1.163 GB, free: 74.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/2.21, allocations: 0.6465 MB / 1.163 GB, free: 73.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/2.21, allocations: 0 / 1.163 GB, free: 73.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005243/2.21, allocations: 384.3 kB / 1.164 GB, free: 73.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/2.211, allocations: 188.9 kB / 1.164 GB, free: 73.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/2.213, allocations: 0.9486 MB / 1.165 GB, free: 72.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/2.213, allocations: 0.8941 MB / 1.166 GB, free: 71.54 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/2.213, allocations: 0 / 1.166 GB, free: 71.54 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat