Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",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.001155/0.001155, allocations: 174.9 kB / 8.475 MB, free: 1.852 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.234/1.234, allocations: 205.2 MB / 214.1 MB, free: 1.871 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.0008868/0.0008868, allocations: 87.33 kB / 262.1 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1545/0.1554, allocations: 52.98 MB / 315.1 MB, free: 22.92 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.2385, allocations: 47.58 MB / 362.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9946/1.233, allocations: 0.5388 GB / 0.893 GB, free: 121.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/1.233, allocations: 98.67 kB / 0.8931 GB, free: 121.2 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.4522/1.686, allocations: 146.1 MB / 1.036 GB, free: 96.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/1.686, allocations: 9.812 kB / 1.036 GB, free: 96.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/1.686, allocations: 41.89 kB / 1.036 GB, free: 96.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/1.687, allocations: 283.8 kB / 1.036 GB, free: 95.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/1.687, allocations: 7 kB / 1.036 GB, free: 95.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/1.687, allocations: 16.84 kB / 1.036 GB, free: 95.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002946/1.687, allocations: 177.9 kB / 1.036 GB, free: 95.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/1.687, allocations: 272.9 kB / 1.036 GB, free: 95.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/1.687, allocations: 0 / 1.036 GB, free: 95.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/1.687, allocations: 11.56 kB / 1.037 GB, free: 95.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/1.687, allocations: 3.969 kB / 1.037 GB, free: 95.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/1.689, allocations: 1.561 MB / 1.038 GB, free: 94.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/1.689, allocations: 112.5 kB / 1.038 GB, free: 94.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/1.689, allocations: 84.42 kB / 1.038 GB, free: 94.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/1.689, allocations: 3.875 kB / 1.038 GB, free: 94.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/1.689, allocations: 42.12 kB / 1.038 GB, free: 94.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.545e-06/1.689, allocations: 3.328 kB / 1.038 GB, free: 94.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.004033/1.693, allocations: 0.961 MB / 1.039 GB, free: 94.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/1.693, allocations: 67.48 kB / 1.039 GB, free: 94.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/1.694, allocations: 192.3 kB / 1.039 GB, free: 94.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/1.694, allocations: 29.05 kB / 1.039 GB, free: 94.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/1.694, allocations: 173.8 kB / 1.04 GB, free: 93.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/1.694, allocations: 87.23 kB / 1.04 GB, free: 93.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/1.694, allocations: 0 / 1.04 GB, free: 93.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.801e-05/1.694, allocations: 332.2 kB / 1.04 GB, free: 93.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/1.694, allocations: 81.98 kB / 1.04 GB, free: 93.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/1.694, allocations: 182 kB / 1.04 GB, free: 93.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/1.694, allocations: 109.7 kB / 1.04 GB, free: 93.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.694, allocations: 0 / 1.04 GB, free: 93.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005605/1.695, allocations: 353.9 kB / 1.041 GB, free: 93.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.695, allocations: 3.906 kB / 1.041 GB, free: 93.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.695, allocations: 3.906 kB / 1.041 GB, free: 93.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/1.695, allocations: 67.77 kB / 1.041 GB, free: 93.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/1.696, allocations: 84.98 kB / 1.041 GB, free: 93.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/1.697, allocations: 1.805 MB / 1.043 GB, free: 91.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/1.697, allocations: 15.39 kB / 1.043 GB, free: 91.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.459e-05/1.697, allocations: 41.69 kB / 1.043 GB, free: 91.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.697, allocations: 124.9 kB / 1.043 GB, free: 91.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/1.697, allocations: 26.5 kB / 1.043 GB, free: 91.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/1.698, allocations: 394 kB / 1.043 GB, free: 91.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.698, allocations: 0 / 1.043 GB, free: 91.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.698, allocations: 3.906 kB / 1.043 GB, free: 91.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003873/1.698, allocations: 0.5356 MB / 1.044 GB, free: 91.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008802/1.699, allocations: 0.6593 MB / 1.044 GB, free: 90.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.699, allocations: 3 kB / 1.044 GB, free: 90.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/1.7, allocations: 78.56 kB / 1.044 GB, free: 90.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-05/1.7, allocations: 22.62 kB / 1.045 GB, free: 90.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/1.7, allocations: 14.47 kB / 1.045 GB, free: 90.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006327/1.701, allocations: 1.222 MB / 1.046 GB, free: 89.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.701, allocations: 0 / 1.046 GB, free: 89.53 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005491/1.701, allocations: 467.7 kB / 1.046 GB, free: 89.32 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008167/1.702, allocations: 0.9624 MB / 1.047 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/1.702, allocations: 100.1 kB / 1.047 GB, free: 88.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/1.702, allocations: 3.906 kB / 1.047 GB, free: 88.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/1.702, allocations: 14.53 kB / 1.047 GB, free: 88.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/1.702, allocations: 22.88 kB / 1.047 GB, free: 88.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/1.703, allocations: 30.34 kB / 1.047 GB, free: 88.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001316/1.703, allocations: 157.5 kB / 1.047 GB, free: 88.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001405/1.704, allocations: 228.4 kB / 1.048 GB, free: 88.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/1.705, allocations: 0.9272 MB / 1.049 GB, free: 88.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007631/1.706, allocations: 342.7 kB / 1.049 GB, free: 88.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.706, allocations: 0 / 1.049 GB, free: 88.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/1.706, allocations: 212.9 kB / 1.049 GB, free: 88.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/1.707, allocations: 109.6 kB / 1.049 GB, free: 88.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/1.709, allocations: 486.4 kB / 1.05 GB, free: 88.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/1.709, allocations: 0.8707 MB / 1.05 GB, free: 87.32 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/1.709, allocations: 0 / 1.05 GB, free: 87.32 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)