Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_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.001868/0.001868, allocations: 192.1 kB / 7.806 MB, free: 2.449 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.527/1.527, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009514/0.0009515, allocations: 96.27 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2146/0.2146, allocations: 43.48 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2457/0.4603, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.8327, allocations: 58.84 MB / 476.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.613/2.446, allocations: 0.6182 GB / 1.084 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/2.446, allocations: 92.17 kB / 1.084 GB, free: 153.8 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.8443/3.291, allocations: 228.5 MB / 1.307 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/3.291, allocations: 7.75 kB / 1.307 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/3.292, allocations: 132.2 kB / 1.307 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/3.294, allocations: 0.5362 MB / 1.308 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/3.294, allocations: 90.39 kB / 1.308 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/3.294, allocations: 31.53 kB / 1.308 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001248/3.295, allocations: 0.5343 MB / 1.308 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/3.297, allocations: 0.7431 MB / 1.309 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/3.297, allocations: 0 / 1.309 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/3.297, allocations: 2.938 kB / 1.309 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-05/3.297, allocations: 43.41 kB / 1.309 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/3.302, allocations: 4.039 MB / 1.313 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/3.303, allocations: 207.4 kB / 1.313 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/3.303, allocations: 140.1 kB / 1.313 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.053e-05/3.303, allocations: 23.39 kB / 1.313 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/3.303, allocations: 38.14 kB / 1.313 GB, free: 107 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/3.303, allocations: 0 / 1.313 GB, free: 107 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.005818/3.309, allocations: 1.436 MB / 1.315 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/3.309, allocations: 137 kB / 1.315 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006644/3.31, allocations: 464.5 kB / 1.315 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/3.31, allocations: 29.52 kB / 1.315 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/3.31, allocations: 331.2 kB / 1.316 GB, free: 106 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/3.31, allocations: 119.6 kB / 1.316 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/3.31, allocations: 2.062 kB / 1.316 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001282/3.31, allocations: 366.7 kB / 1.316 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/3.311, allocations: 190.9 kB / 1.316 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/3.311, allocations: 497.5 kB / 1.317 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008293/3.312, allocations: 332.8 kB / 1.317 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/3.312, allocations: 3.656 kB / 1.317 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001659/3.314, allocations: 0.8279 MB / 1.318 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/3.314, allocations: 7.531 kB / 1.318 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/3.314, allocations: 11.22 kB / 1.318 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/3.315, allocations: 282.7 kB / 1.318 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/3.315, allocations: 120.2 kB / 1.318 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/3.317, allocations: 0.9603 MB / 1.319 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/3.317, allocations: 34.12 kB / 1.319 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/3.317, allocations: 69.42 kB / 1.319 GB, free: 104.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002125/3.318, allocations: 141.8 kB / 1.32 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/3.318, allocations: 58.47 kB / 1.32 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/3.319, allocations: 0.5578 MB / 1.32 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/3.319, allocations: 3.844 kB / 1.32 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/3.319, allocations: 3.812 kB / 1.32 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/3.319, allocations: 0 / 1.32 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/3.321, allocations: 0.9986 MB / 1.321 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/3.321, allocations: 3.562 kB / 1.321 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/3.322, allocations: 194.2 kB / 1.321 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-05/3.322, allocations: 19.52 kB / 1.321 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/3.322, allocations: 11.78 kB / 1.321 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/3.324, allocations: 2.58 MB / 1.324 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/3.324, allocations: 0 / 1.324 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001004/3.325, allocations: 0.7047 MB / 1.325 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001512/3.327, allocations: 1.318 MB / 1.326 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/3.327, allocations: 180.3 kB / 1.326 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/3.327, allocations: 7.297 kB / 1.326 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/3.328, allocations: 21.67 kB / 1.326 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/3.328, allocations: 22.69 kB / 1.326 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/3.328, allocations: 50.3 kB / 1.326 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004684/3.328, allocations: 345.4 kB / 1.326 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00255/3.331, allocations: 436.1 kB / 1.327 GB, free: 100.6 MB / 0.5105 GB 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 (34): * Single equations (assignments): 32 * 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: 1 * 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: 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.002852/3.334, allocations: 1.206 MB / 1.328 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001138/3.335, allocations: 495.7 kB / 1.328 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/3.335, allocations: 0 / 1.328 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/3.336, allocations: 401.8 kB / 1.329 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/3.338, allocations: 223.5 kB / 1.329 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/3.34, allocations: 0.8875 MB / 1.33 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009761/3.341, allocations: 1.072 MB / 1.331 GB, free: 99.33 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/3.341, allocations: 3.25 kB / 1.331 GB, free: 99.33 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)