Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness",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.001364/0.001364, allocations: 186.3 kB / 7.8 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4629/0.4629, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.4 MB / 342.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 93.64 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.172/0.1731, allocations: 78.45 MB / 493.9 MB, free: 8.012 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.5597, allocations: 72.3 MB / 0.553 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.312/4.872, allocations: 2.118 GB / 2.671 GB, free: 187.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/4.872, allocations: 79.95 kB / 2.671 GB, free: 187.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 2.327/7.199, allocations: 0.7966 GB / 3.468 GB, free: 82.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/7.199, allocations: 7.781 kB / 3.468 GB, free: 82.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/7.201, allocations: 481 kB / 3.469 GB, free: 82.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/7.204, allocations: 1.044 MB / 3.47 GB, free: 81.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006376/7.204, allocations: 173 kB / 3.47 GB, free: 81.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/7.205, allocations: 42.41 kB / 3.47 GB, free: 81.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00144/7.206, allocations: 0.7469 MB / 3.47 GB, free: 81.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/7.207, allocations: 0.8431 MB / 3.471 GB, free: 80.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/7.207, allocations: 0 / 3.471 GB, free: 80.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/7.207, allocations: 6.859 kB / 3.471 GB, free: 80.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/7.208, allocations: 33.83 kB / 3.471 GB, free: 80.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006308/7.214, allocations: 4.116 MB / 3.475 GB, free: 77.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/7.215, allocations: 0.5369 MB / 3.476 GB, free: 77.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/7.215, allocations: 329.2 kB / 3.476 GB, free: 77.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007046/7.216, allocations: 0.6452 MB / 3.477 GB, free: 76.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005851/7.216, allocations: 446.7 kB / 3.477 GB, free: 76.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 2.574e-06/7.216, allocations: 0 / 3.477 GB, free: 76.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.001658/7.218, allocations: 0.7378 MB / 3.478 GB, free: 75.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/7.218, allocations: 84.08 kB / 3.478 GB, free: 75.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006106/7.219, allocations: 0.5664 MB / 3.479 GB, free: 75.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.868e-05/7.219, allocations: 25.7 kB / 3.479 GB, free: 75.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/7.219, allocations: 314.2 kB / 3.479 GB, free: 75.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/7.219, allocations: 187.5 kB / 3.479 GB, free: 75.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/7.219, allocations: 0 / 3.479 GB, free: 75.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.105e-05/7.219, allocations: 329.7 kB / 3.479 GB, free: 74.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/7.22, allocations: 266.8 kB / 3.48 GB, free: 74.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/7.22, allocations: 424.2 kB / 3.48 GB, free: 74.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/7.221, allocations: 330.2 kB / 3.48 GB, free: 74.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/7.221, allocations: 2.469 kB / 3.48 GB, free: 74.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001419/7.222, allocations: 0.7753 MB / 3.481 GB, free: 73.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002001/7.222, allocations: 0.8754 MB / 3.482 GB, free: 72.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/7.222, allocations: 3.875 kB / 3.482 GB, free: 72.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/7.222, allocations: 9.125 kB / 3.482 GB, free: 72.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/7.224, allocations: 262.4 kB / 3.482 GB, free: 72.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005526/7.225, allocations: 1.21 MB / 3.483 GB, free: 71.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/7.226, allocations: 180.4 kB / 3.484 GB, free: 71.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/7.226, allocations: 29.86 kB / 3.484 GB, free: 71.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/7.226, allocations: 4.312 kB / 3.484 GB, free: 71.46 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/7.227, allocations: 0.6643 MB / 3.484 GB, free: 70.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/7.227, allocations: 0 / 3.484 GB, free: 70.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/7.227, allocations: 4.531 kB / 3.484 GB, free: 70.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/7.228, allocations: 241.9 kB / 3.485 GB, free: 70.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/7.228, allocations: 7.984 kB / 3.485 GB, free: 70.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/7.23, allocations: 175.5 kB / 3.485 GB, free: 70.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.782e-05/7.23, allocations: 40.59 kB / 3.485 GB, free: 70.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001978/7.23, allocations: 116.8 kB / 3.485 GB, free: 70.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/7.23, allocations: 86.97 kB / 3.485 GB, free: 70.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/7.232, allocations: 0.8682 MB / 3.486 GB, free: 69.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/7.232, allocations: 4 kB / 3.486 GB, free: 69.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/7.232, allocations: 0 / 3.486 GB, free: 69.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/7.232, allocations: 7.984 kB / 3.486 GB, free: 69.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/7.235, allocations: 1.941 MB / 3.488 GB, free: 67.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/7.235, allocations: 4 kB / 3.488 GB, free: 67.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/7.236, allocations: 242.2 kB / 3.488 GB, free: 67.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/7.236, allocations: 4 kB / 3.488 GB, free: 67.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/7.236, allocations: 11.98 kB / 3.488 GB, free: 67.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003991/7.236, allocations: 1.203 MB / 3.489 GB, free: 65.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/7.236, allocations: 7.938 kB / 3.489 GB, free: 65.82 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001429/7.238, allocations: 1.069 MB / 3.49 GB, free: 64.64 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001716/7.24, allocations: 1.548 MB / 3.492 GB, free: 62.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/7.24, allocations: 283.7 kB / 3.492 GB, free: 62.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/7.24, allocations: 7.984 kB / 3.492 GB, free: 62.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/7.241, allocations: 163.8 kB / 3.492 GB, free: 62.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/7.241, allocations: 56.27 kB / 3.492 GB, free: 62.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/7.242, allocations: 31.97 kB / 3.492 GB, free: 62.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0004546/7.242, allocations: 447.1 kB / 3.493 GB, free: 61.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003401/7.245, allocations: 1.022 MB / 3.494 GB, free: 60.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002103/7.248, allocations: 1.876 MB / 3.495 GB, free: 59.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00207/7.25, allocations: 1.139 MB / 3.497 GB, free: 58.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/7.25, allocations: 1 kB / 3.497 GB, free: 58.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007192/7.25, allocations: 425.6 kB / 3.497 GB, free: 57.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/7.252, allocations: 341.8 kB / 3.497 GB, free: 57.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/7.255, allocations: 1.356 MB / 3.499 GB, free: 55.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007826/7.256, allocations: 1.168 MB / 3.5 GB, free: 54.75 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/7.256, allocations: 0 / 3.5 GB, free: 54.75 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)