Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",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.001207/0.001207, allocations: 174.6 kB / 8.476 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.256/1.256, allocations: 205.2 MB / 214.1 MB, free: 5.137 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.0009795/0.0009794, allocations: 86.27 kB / 262.1 MB, free: 5.195 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1826/0.1836, allocations: 52.99 MB / 315.1 MB, free: 41.37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07865/0.2623, allocations: 47.57 MB / 362.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6319/0.8942, allocations: 337.2 MB / 0.6835 GB, free: 52.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.8945, allocations: 92.66 kB / 0.6836 GB, free: 52.34 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.3243/1.219, allocations: 86.39 MB / 0.7679 GB, free: 139.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/1.219, allocations: 8.453 kB / 0.7679 GB, free: 139.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/1.219, allocations: 49.91 kB / 0.768 GB, free: 139.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/1.22, allocations: 279.9 kB / 0.7682 GB, free: 139.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/1.22, allocations: 7.094 kB / 0.7683 GB, free: 139.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/1.22, allocations: 16.81 kB / 0.7683 GB, free: 139.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003388/1.22, allocations: 175.2 kB / 0.7684 GB, free: 139.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/1.221, allocations: 252.2 kB / 0.7687 GB, free: 139.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/1.221, allocations: 5.297 kB / 0.7687 GB, free: 139.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/1.221, allocations: 1.094 kB / 0.7687 GB, free: 139.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/1.221, allocations: 9.781 kB / 0.7687 GB, free: 139.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/1.223, allocations: 1.219 MB / 0.7699 GB, free: 138.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/1.223, allocations: 119 kB / 0.77 GB, free: 138.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/1.223, allocations: 83.06 kB / 0.7701 GB, free: 138.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/1.223, allocations: 173.2 kB / 0.7702 GB, free: 138.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/1.223, allocations: 41.88 kB / 0.7703 GB, free: 138.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.777e-06/1.223, allocations: 0 / 0.7703 GB, free: 138.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002282/1.225, allocations: 0.7879 MB / 0.771 GB, free: 137.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/1.226, allocations: 54.66 kB / 0.7711 GB, free: 137.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/1.226, allocations: 194.2 kB / 0.7713 GB, free: 137.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/1.226, allocations: 26.3 kB / 0.7713 GB, free: 137.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/1.226, allocations: 171.8 kB / 0.7715 GB, free: 137.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/1.226, allocations: 91.56 kB / 0.7716 GB, free: 137.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/1.226, allocations: 0 / 0.7716 GB, free: 137.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.519e-05/1.226, allocations: 336.5 kB / 0.7719 GB, free: 136.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.226, allocations: 70.48 kB / 0.772 GB, free: 136.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/1.227, allocations: 166.2 kB / 0.7721 GB, free: 136.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/1.227, allocations: 109.8 kB / 0.7722 GB, free: 136.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.227, allocations: 0 / 0.7722 GB, free: 136.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007438/1.228, allocations: 404 kB / 0.7726 GB, free: 136.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.228, allocations: 5.188 kB / 0.7726 GB, free: 136.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.228, allocations: 11.59 kB / 0.7726 GB, free: 136.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/1.228, allocations: 44.23 kB / 0.7727 GB, free: 136.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/1.228, allocations: 78.73 kB / 0.7727 GB, free: 136.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/1.23, allocations: 2.446 MB / 0.7751 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/1.231, allocations: 15.83 kB / 0.7751 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/1.231, allocations: 13.02 kB / 0.7751 GB, free: 133.9 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002508/1.231, allocations: 122.3 kB / 0.7753 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.231, allocations: 24.5 kB / 0.7753 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/1.232, allocations: 335.2 kB / 0.7756 GB, free: 133.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.232, allocations: 4.719 kB / 0.7756 GB, free: 133.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.232, allocations: 0 / 0.7756 GB, free: 133.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005424/1.232, allocations: 0.5957 MB / 0.7762 GB, free: 133 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/1.234, allocations: 0.7 MB / 0.7769 GB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/1.234, allocations: 1.375 kB / 0.7769 GB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/1.234, allocations: 56.59 kB / 0.7769 GB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.38e-05/1.234, allocations: 23.58 kB / 0.777 GB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/1.234, allocations: 3.25 kB / 0.777 GB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007001/1.235, allocations: 1.213 MB / 0.7781 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.235, allocations: 5.094 kB / 0.7781 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006486/1.235, allocations: 499.8 kB / 0.7786 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008809/1.236, allocations: 0.9757 MB / 0.7796 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/1.236, allocations: 98.2 kB / 0.7797 GB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/1.237, allocations: 4.703 kB / 0.7797 GB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/1.237, allocations: 9.953 kB / 0.7797 GB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/1.237, allocations: 19.06 kB / 0.7797 GB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/1.237, allocations: 14.81 kB / 0.7797 GB, free: 129.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001535/1.237, allocations: 154.6 kB / 0.7799 GB, free: 129.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001225/1.238, allocations: 126.5 kB / 0.78 GB, free: 129.8 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): 24 * 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.0004329/1.239, allocations: 241.3 kB / 0.7802 GB, free: 129.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007058/1.239, allocations: 407.3 kB / 0.7806 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.239, allocations: 0 / 0.7806 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/1.24, allocations: 206.5 kB / 0.7808 GB, free: 129.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008/1.241, allocations: 118.9 kB / 0.7809 GB, free: 129.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/1.242, allocations: 464.9 kB / 0.7814 GB, free: 129.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/1.242, allocations: 0.8135 MB / 0.7822 GB, free: 128.4 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/1.242, allocations: 3.938 kB / 0.7822 GB, free: 128.3 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat