Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001173/0.001173, allocations: 202.3 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 99.2 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1353/0.1364, allocations: 56.9 MB / 343.2 MB, free: 8.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.2569, allocations: 51.47 MB / 394.7 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.419, allocations: 0.5367 GB / 0.9222 GB, free: 134.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.42, allocations: 74.5 kB / 0.9223 GB, free: 134.1 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.052/2.472, allocations: 460.8 MB / 1.372 GB, free: 53.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/2.472, allocations: 12 kB / 1.372 GB, free: 53.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005663/2.473, allocations: 59.59 kB / 1.372 GB, free: 53.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/2.473, allocations: 274.5 kB / 1.373 GB, free: 53.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/2.473, allocations: 8 kB / 1.373 GB, free: 53.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/2.473, allocations: 16 kB / 1.373 GB, free: 53.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002972/2.473, allocations: 185.9 kB / 1.373 GB, free: 53.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/2.474, allocations: 294.2 kB / 1.373 GB, free: 52.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/2.474, allocations: 0 / 1.373 GB, free: 52.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/2.474, allocations: 4 kB / 1.373 GB, free: 52.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/2.474, allocations: 4 kB / 1.373 GB, free: 52.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00976/2.484, allocations: 5.478 MB / 1.378 GB, free: 46.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/2.484, allocations: 126.3 kB / 1.379 GB, free: 46.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/2.484, allocations: 81.23 kB / 1.379 GB, free: 46.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008084/2.492, allocations: 3.513 MB / 1.382 GB, free: 42.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/2.492, allocations: 39.31 kB / 1.382 GB, free: 42.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 2.645e-06/2.492, allocations: 0 / 1.382 GB, free: 42.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.002733/2.495, allocations: 0.8813 MB / 1.383 GB, free: 41.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/2.495, allocations: 55.41 kB / 1.383 GB, free: 41.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/2.495, allocations: 199 kB / 1.383 GB, free: 41.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/2.495, allocations: 25.7 kB / 1.383 GB, free: 41.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/2.495, allocations: 179.9 kB / 1.383 GB, free: 41.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/2.495, allocations: 90.66 kB / 1.383 GB, free: 41.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/2.495, allocations: 0 / 1.383 GB, free: 41.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/2.495, allocations: 334.8 kB / 1.384 GB, free: 41.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/2.496, allocations: 80 kB / 1.384 GB, free: 40.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/2.496, allocations: 175.1 kB / 1.384 GB, free: 40.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/2.496, allocations: 154.9 kB / 1.384 GB, free: 40.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/2.496, allocations: 7.844 kB / 1.384 GB, free: 40.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009389/2.497, allocations: 398 kB / 1.385 GB, free: 40.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/2.497, allocations: 4 kB / 1.385 GB, free: 40.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/2.497, allocations: 4 kB / 1.385 GB, free: 40.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/2.498, allocations: 65.62 kB / 1.385 GB, free: 40.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/2.498, allocations: 67.91 kB / 1.385 GB, free: 40.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/2.499, allocations: 1.861 MB / 1.387 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/2.499, allocations: 12.84 kB / 1.387 GB, free: 38.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/2.499, allocations: 16 kB / 1.387 GB, free: 38.03 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 9.139e-05/2.5, allocations: 120.9 kB / 1.387 GB, free: 37.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/2.5, allocations: 27.62 kB / 1.387 GB, free: 37.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008768/2.501, allocations: 474 kB / 1.387 GB, free: 37.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/2.501, allocations: 11.98 kB / 1.387 GB, free: 37.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/2.501, allocations: 4 kB / 1.387 GB, free: 37.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007302/2.501, allocations: 0.7058 MB / 1.388 GB, free: 36.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/2.503, allocations: 0.8862 MB / 1.389 GB, free: 35.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/2.503, allocations: 4.625 kB / 1.389 GB, free: 35.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/2.503, allocations: 39.97 kB / 1.389 GB, free: 35.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002549/2.503, allocations: 96.72 kB / 1.389 GB, free: 35.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/2.503, allocations: 4 kB / 1.389 GB, free: 35.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005169/2.504, allocations: 0.6935 MB / 1.39 GB, free: 34.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/2.504, allocations: 0 / 1.39 GB, free: 34.81 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009429/2.505, allocations: 0.7102 MB / 1.39 GB, free: 34.07 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001261/2.506, allocations: 1.302 MB / 1.391 GB, free: 32.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/2.506, allocations: 104.7 kB / 1.392 GB, free: 32.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/2.506, allocations: 4.812 kB / 1.392 GB, free: 32.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/2.506, allocations: 8.062 kB / 1.392 GB, free: 32.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/2.506, allocations: 15.97 kB / 1.392 GB, free: 32.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/2.506, allocations: 15.98 kB / 1.392 GB, free: 32.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001124/2.506, allocations: 149.9 kB / 1.392 GB, free: 32.42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00162/2.508, allocations: 227.8 kB / 1.392 GB, free: 32.2 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.001633/2.51, allocations: 0.5693 MB / 1.393 GB, free: 31.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006638/2.51, allocations: 409.1 kB / 1.393 GB, free: 31.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/2.51, allocations: 0 / 1.393 GB, free: 31.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/2.511, allocations: 208.9 kB / 1.393 GB, free: 31.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/2.511, allocations: 116.2 kB / 1.393 GB, free: 30.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009905/2.512, allocations: 0.5666 MB / 1.394 GB, free: 30.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/2.513, allocations: 0.8277 MB / 1.395 GB, free: 29.53 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/2.513, allocations: 0 / 1.395 GB, free: 29.53 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat