Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",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.001818/0.001818, 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.516/1.516, allocations: 205.2 MB / 214.1 MB, free: 5.113 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.0009261/0.0009264, allocations: 87.28 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2258/0.2268, allocations: 52.98 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.32, allocations: 47.58 MB / 362.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3687/0.6888, allocations: 187.8 MB / 0.5376 GB, free: 6.043 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.6892, allocations: 96.3 kB / 0.5377 GB, free: 5.984 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.8837/1.573, allocations: 281.2 MB / 0.8123 GB, free: 64.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.573, allocations: 8 kB / 0.8123 GB, free: 64.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/1.574, allocations: 51.61 kB / 0.8124 GB, free: 64.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/1.574, allocations: 298.8 kB / 0.8126 GB, free: 64.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/1.574, allocations: 8 kB / 0.8127 GB, free: 64.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/1.574, allocations: 16 kB / 0.8127 GB, free: 64.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003265/1.574, allocations: 173.2 kB / 0.8128 GB, free: 64.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/1.575, allocations: 309.8 kB / 0.8131 GB, free: 64.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/1.575, allocations: 3.906 kB / 0.8131 GB, free: 64.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/1.575, allocations: 4 kB / 0.8131 GB, free: 64.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.575, allocations: 4 kB / 0.8131 GB, free: 64.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/1.577, allocations: 2.066 MB / 0.8152 GB, free: 61.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/1.577, allocations: 149.7 kB / 0.8153 GB, free: 61.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/1.577, allocations: 72.86 kB / 0.8154 GB, free: 61.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/1.577, allocations: 273.7 kB / 0.8156 GB, free: 61.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/1.577, allocations: 34.56 kB / 0.8157 GB, free: 61.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.994e-06/1.577, allocations: 0 / 0.8157 GB, free: 61.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.00315/1.581, allocations: 0.9677 MB / 0.8166 GB, free: 60.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/1.581, allocations: 62.55 kB / 0.8167 GB, free: 60.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/1.581, allocations: 196 kB / 0.8169 GB, free: 59.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/1.581, allocations: 29.7 kB / 0.8169 GB, free: 59.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/1.581, allocations: 168 kB / 0.817 GB, free: 59.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/1.581, allocations: 98.56 kB / 0.8171 GB, free: 59.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/1.581, allocations: 0 / 0.8171 GB, free: 59.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.271e-05/1.581, allocations: 342.7 kB / 0.8175 GB, free: 59.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/1.581, allocations: 83.92 kB / 0.8175 GB, free: 59.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/1.581, allocations: 158.2 kB / 0.8177 GB, free: 59.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/1.582, allocations: 153.3 kB / 0.8178 GB, free: 58.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.582, allocations: 3.25 kB / 0.8178 GB, free: 58.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001102/1.583, allocations: 389.8 kB / 0.8182 GB, free: 58.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.583, allocations: 8 kB / 0.8182 GB, free: 58.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.583, allocations: 3.875 kB / 0.8182 GB, free: 58.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/1.584, allocations: 88.75 kB / 0.8183 GB, free: 58.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/1.584, allocations: 75.89 kB / 0.8184 GB, free: 58.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006761/1.585, allocations: 0.6996 MB / 0.8191 GB, free: 57.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/1.585, allocations: 4 kB / 0.8191 GB, free: 57.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/1.585, allocations: 35.98 kB / 0.8191 GB, free: 57.55 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001857/1.585, allocations: 125.8 kB / 0.8192 GB, free: 57.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/1.585, allocations: 31.72 kB / 0.8193 GB, free: 57.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/1.587, allocations: 0.712 MB / 0.82 GB, free: 56.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/1.587, allocations: 15.94 kB / 0.82 GB, free: 56.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.587, allocations: 11.73 kB / 0.82 GB, free: 56.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009284/1.588, allocations: 0.7431 MB / 0.8207 GB, free: 55.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/1.589, allocations: 0.914 MB / 0.8216 GB, free: 54.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.59, allocations: 0 / 0.8216 GB, free: 54.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/1.59, allocations: 39.97 kB / 0.8216 GB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/1.59, allocations: 80.73 kB / 0.8217 GB, free: 54.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/1.59, allocations: 12 kB / 0.8217 GB, free: 54.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005391/1.591, allocations: 0.6781 MB / 0.8224 GB, free: 54.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.591, allocations: 0 / 0.8224 GB, free: 54.1 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001151/1.592, allocations: 0.7293 MB / 0.8231 GB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001481/1.593, allocations: 1.373 MB / 0.8244 GB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.305e-05/1.593, allocations: 104.7 kB / 0.8245 GB, free: 51.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/1.593, allocations: 0 / 0.8245 GB, free: 51.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/1.594, allocations: 15.89 kB / 0.8246 GB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/1.594, allocations: 23.97 kB / 0.8246 GB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/1.594, allocations: 31.98 kB / 0.8246 GB, free: 51.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001268/1.594, allocations: 160.6 kB / 0.8248 GB, free: 51.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00166/1.596, allocations: 279.7 kB / 0.825 GB, free: 51.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 21 * Array equations: 6 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008747/1.596, allocations: 357.2 kB / 0.8254 GB, free: 50.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006291/1.597, allocations: 331.2 kB / 0.8257 GB, free: 50.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.597, allocations: 0.625 kB / 0.8257 GB, free: 50.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003751/1.597, allocations: 216.2 kB / 0.8259 GB, free: 50.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007334/1.598, allocations: 117.7 kB / 0.826 GB, free: 50.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02934/1.628, allocations: 15.37 MB / 0.841 GB, free: 35.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005569/1.628, allocations: 0.8911 MB / 0.8419 GB, free: 34.09 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/1.628, allocations: 0 / 0.8419 GB, free: 34.09 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)