Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001181/0.001181, 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.594/1.594, allocations: 205.2 MB / 214.1 MB, free: 5.176 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.001147/0.001147, allocations: 91.27 kB / 262.1 MB, free: 5.207 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2416/0.2428, allocations: 52.96 MB / 315 MB, free: 41.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.3569, allocations: 47.58 MB / 362.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.309/1.666, allocations: 0.6378 GB / 0.9919 GB, free: 87.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/1.667, allocations: 74.44 kB / 0.992 GB, free: 87.3 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 1.24/2.906, allocations: 460.4 MB / 1.442 GB, free: 98.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/2.906, allocations: 7.562 kB / 1.442 GB, free: 98.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/2.907, allocations: 58.33 kB / 1.442 GB, free: 98.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/2.907, allocations: 277.9 kB / 1.442 GB, free: 98.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/2.907, allocations: 13.09 kB / 1.442 GB, free: 98.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/2.907, allocations: 16.19 kB / 1.442 GB, free: 98.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002895/2.908, allocations: 178.6 kB / 1.442 GB, free: 98.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/2.908, allocations: 294.7 kB / 1.442 GB, free: 98.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/2.908, allocations: 3.906 kB / 1.442 GB, free: 98.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/2.908, allocations: 0 / 1.442 GB, free: 98.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/2.908, allocations: 8.312 kB / 1.442 GB, free: 98.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009765/2.918, allocations: 5.488 MB / 1.448 GB, free: 95.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/2.918, allocations: 116.8 kB / 1.448 GB, free: 95.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/2.918, allocations: 94.58 kB / 1.448 GB, free: 95.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007852/2.926, allocations: 3.516 MB / 1.451 GB, free: 93.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/2.926, allocations: 37.34 kB / 1.451 GB, free: 93.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.416e-06/2.926, allocations: 0 / 1.451 GB, free: 93.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002521/2.929, allocations: 0.8762 MB / 1.452 GB, free: 93.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/2.929, allocations: 55.09 kB / 1.452 GB, free: 93.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/2.929, allocations: 198.9 kB / 1.453 GB, free: 93.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/2.929, allocations: 28.11 kB / 1.453 GB, free: 93.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/2.929, allocations: 177.8 kB / 1.453 GB, free: 92.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/2.929, allocations: 89.8 kB / 1.453 GB, free: 92.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/2.929, allocations: 0 / 1.453 GB, free: 92.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.775e-05/2.929, allocations: 341.1 kB / 1.453 GB, free: 92.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/2.929, allocations: 79.12 kB / 1.453 GB, free: 92.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/2.929, allocations: 172.3 kB / 1.453 GB, free: 92.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/2.93, allocations: 153.2 kB / 1.454 GB, free: 92.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/2.93, allocations: 0 / 1.454 GB, free: 92.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008924/2.931, allocations: 402.9 kB / 1.454 GB, free: 92.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/2.931, allocations: 7.719 kB / 1.454 GB, free: 92.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/2.931, allocations: 3.969 kB / 1.454 GB, free: 92.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/2.931, allocations: 70.27 kB / 1.454 GB, free: 92.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/2.931, allocations: 66.94 kB / 1.454 GB, free: 92.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/2.933, allocations: 1.854 MB / 1.456 GB, free: 90.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/2.933, allocations: 19.77 kB / 1.456 GB, free: 90.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/2.933, allocations: 14.69 kB / 1.456 GB, free: 90.68 MB / 426.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.853e-05/2.933, allocations: 110.2 kB / 1.456 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/2.933, allocations: 31.34 kB / 1.456 GB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008369/2.934, allocations: 480.9 kB / 1.456 GB, free: 90.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/2.934, allocations: 10.61 kB / 1.456 GB, free: 90.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/2.934, allocations: 0 / 1.456 GB, free: 90.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006966/2.934, allocations: 0.7155 MB / 1.457 GB, free: 90.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/2.936, allocations: 0.8829 MB / 1.458 GB, free: 89.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/2.936, allocations: 0 / 1.458 GB, free: 89.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/2.936, allocations: 44.19 kB / 1.458 GB, free: 89.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/2.936, allocations: 95.78 kB / 1.458 GB, free: 89.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/2.936, allocations: 11.23 kB / 1.458 GB, free: 89.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000487/2.937, allocations: 0.6817 MB / 1.459 GB, free: 89.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.937, allocations: 7.594 kB / 1.459 GB, free: 89.18 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000949/2.938, allocations: 0.7207 MB / 1.46 GB, free: 88.98 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001254/2.939, allocations: 1.294 MB / 1.461 GB, free: 88.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.676e-05/2.939, allocations: 104.4 kB / 1.461 GB, free: 88.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/2.939, allocations: 3.812 kB / 1.461 GB, free: 88.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/2.939, allocations: 5.312 kB / 1.461 GB, free: 88.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/2.939, allocations: 23.05 kB / 1.461 GB, free: 88.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/2.939, allocations: 11.19 kB / 1.461 GB, free: 88.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001248/2.94, allocations: 155.5 kB / 1.461 GB, free: 88.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001539/2.941, allocations: 225.9 kB / 1.461 GB, free: 88.2 MB / 426.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.00132/2.942, allocations: 0.5603 MB / 1.462 GB, free: 88.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006639/2.943, allocations: 416.8 kB / 1.462 GB, free: 87.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/2.943, allocations: 0 / 1.462 GB, free: 87.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/2.943, allocations: 211.6 kB / 1.462 GB, free: 87.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/2.944, allocations: 114.4 kB / 1.463 GB, free: 87.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009432/2.945, allocations: 0.5556 MB / 1.463 GB, free: 87.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/2.945, allocations: 0.822 MB / 1.464 GB, free: 86.96 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/2.945, allocations: 4 kB / 1.464 GB, free: 86.96 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat