Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_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 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 174.8 kB / 8.518 MB, free: 1.832 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.165/1.165, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.0009509/0.000951, allocations: 86.56 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1589/0.1589, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1652/0.3241, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.4137, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8137/1.227, allocations: 0.5013 GB / 0.9955 GB, free: 91.26 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/1.228, allocations: 78.27 kB / 0.9955 GB, free: 91.22 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.1026/1.33, allocations: 48.3 MB / 1.043 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/1.33, allocations: 11.94 kB / 1.043 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007373/1.338, allocations: 0.7055 MB / 1.043 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/1.338, allocations: 250.8 kB / 1.044 GB, free: 44.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.433e-05/1.338, allocations: 119.3 kB / 1.044 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/1.338, allocations: 12 kB / 1.044 GB, free: 43.87 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009905/1.339, allocations: 0.5474 MB / 1.044 GB, free: 43.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/1.34, allocations: 319.4 kB / 1.045 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.34, allocations: 4 kB / 1.045 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/1.34, allocations: 0 / 1.045 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/1.34, allocations: 8 kB / 1.045 GB, free: 42.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/1.342, allocations: 2.044 MB / 1.047 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.343, allocations: 118.5 kB / 1.047 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/1.343, allocations: 37 kB / 1.047 GB, free: 40.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/1.343, allocations: 85.09 kB / 1.047 GB, free: 40.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/1.343, allocations: 42.75 kB / 1.047 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/1.343, allocations: 3.938 kB / 1.047 GB, free: 40.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.003017/1.346, allocations: 490.6 kB / 1.047 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.499e-05/1.346, allocations: 59.34 kB / 1.047 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/1.346, allocations: 193.6 kB / 1.048 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/1.346, allocations: 29.7 kB / 1.048 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/1.346, allocations: 210.8 kB / 1.048 GB, free: 39.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/1.346, allocations: 43.45 kB / 1.048 GB, free: 39.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/1.346, allocations: 0 / 1.048 GB, free: 39.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.728e-05/1.346, allocations: 322.8 kB / 1.048 GB, free: 39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/1.347, allocations: 60.86 kB / 1.048 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/1.347, allocations: 258 kB / 1.048 GB, free: 38.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/1.347, allocations: 119.9 kB / 1.049 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.347, allocations: 0 / 1.049 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006873/1.348, allocations: 359.1 kB / 1.049 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/1.348, allocations: 8.938 kB / 1.049 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.348, allocations: 7.938 kB / 1.049 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.348, allocations: 16 kB / 1.049 GB, free: 38.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/1.348, allocations: 167.8 kB / 1.049 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000223/1.349, allocations: 0.6171 MB / 1.05 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/1.349, allocations: 15.94 kB / 1.05 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/1.349, allocations: 51.98 kB / 1.05 GB, free: 37.22 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.593e-05/1.349, allocations: 128.9 kB / 1.05 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/1.349, allocations: 19.91 kB / 1.05 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009064/1.35, allocations: 459.8 kB / 1.05 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.35, allocations: 4 kB / 1.05 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.35, allocations: 0 / 1.05 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.35, allocations: 0 / 1.05 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/1.351, allocations: 452.6 kB / 1.051 GB, free: 36.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.351, allocations: 0 / 1.051 GB, free: 36.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/1.351, allocations: 71.89 kB / 1.051 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.351, allocations: 8.062 kB / 1.051 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.351, allocations: 4 kB / 1.051 GB, free: 36.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001794/1.351, allocations: 0.6015 MB / 1.051 GB, free: 35.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.351, allocations: 0 / 1.051 GB, free: 35.41 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002154/1.351, allocations: 272.4 kB / 1.052 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00031/1.352, allocations: 0.6648 MB / 1.052 GB, free: 34.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/1.352, allocations: 108.9 kB / 1.052 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/1.352, allocations: 0 / 1.052 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/1.352, allocations: 7.984 kB / 1.053 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/1.352, allocations: 27.88 kB / 1.053 GB, free: 34.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/1.352, allocations: 23.98 kB / 1.053 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.34e-05/1.352, allocations: 148.3 kB / 1.053 GB, free: 34.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001344/1.354, allocations: 263.8 kB / 1.053 GB, free: 33.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/1.355, allocations: 0.7445 MB / 1.054 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004599/1.355, allocations: 225.2 kB / 1.054 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.355, allocations: 4 kB / 1.054 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/1.355, allocations: 84.33 kB / 1.054 GB, free: 32.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/1.356, allocations: 27.98 kB / 1.054 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/1.361, allocations: 1.697 MB / 1.056 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006953/1.361, allocations: 0.8802 MB / 1.057 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/1.361, allocations: 0 / 1.057 GB, free: 30.11 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1)