Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7095/0.7095, allocations: 141.8 MB / 149.1 MB, free: 188 kB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 174.8 kB / 181.9 MB, free: 12.43 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 221.3 MB / 436 MB, free: 5.199 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008769/0.0008768, allocations: 96 kB / 0.507 GB, free: 19.14 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001788/0.001788, allocations: 280.6 kB / 0.5884 GB, free: 6.395 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.424/0.4258, allocations: 89.63 MB / 0.676 GB, free: 139.6 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.5832, allocations: 82.78 MB / 0.7568 GB, free: 87.97 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.973/4.557, allocations: 2.125 GB / 2.882 GB, free: 148.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/4.557, allocations: 83.94 kB / 2.882 GB, free: 148.2 MB / 0.6982 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.398/6.955, allocations: 0.7981 GB / 3.68 GB, free: 97.23 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/6.955, allocations: 9 kB / 3.68 GB, free: 97.23 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/6.957, allocations: 475.7 kB / 3.681 GB, free: 97.17 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/6.96, allocations: 1.043 MB / 3.682 GB, free: 96.84 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006144/6.961, allocations: 176.9 kB / 3.682 GB, free: 96.83 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/6.961, allocations: 45.12 kB / 3.682 GB, free: 96.83 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001379/6.962, allocations: 0.7466 MB / 3.683 GB, free: 96.82 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/6.964, allocations: 0.8388 MB / 3.683 GB, free: 96.72 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/6.964, allocations: 3.5 kB / 3.683 GB, free: 96.72 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.361e-05/6.964, allocations: 0 / 3.683 GB, free: 96.72 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/6.964, allocations: 37.98 kB / 3.684 GB, free: 96.72 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006478/6.97, allocations: 4.11 MB / 3.688 GB, free: 94.93 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/6.971, allocations: 0.5397 MB / 3.688 GB, free: 94.89 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/6.972, allocations: 334.5 kB / 3.688 GB, free: 94.89 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/6.972, allocations: 0.6412 MB / 3.689 GB, free: 94.23 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/6.973, allocations: 441.1 kB / 3.689 GB, free: 94.16 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=57): time 2.124e-06/6.973, allocations: 2.734 kB / 3.689 GB, free: 94.16 MB / 0.6982 GB Notification: Performance of matching and sorting (n=57): time 0.001669/6.974, allocations: 0.7422 MB / 3.69 GB, free: 94.07 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/6.974, allocations: 87.7 kB / 3.69 GB, free: 93.98 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/6.975, allocations: 0.5578 MB / 3.691 GB, free: 93.85 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 8.298e-05/6.975, allocations: 29.58 kB / 3.691 GB, free: 93.82 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/6.975, allocations: 318.8 kB / 3.691 GB, free: 93.63 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/6.976, allocations: 180.8 kB / 3.691 GB, free: 93.51 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/6.976, allocations: 0 / 3.691 GB, free: 93.51 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.676e-05/6.976, allocations: 327.2 kB / 3.692 GB, free: 93.21 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/6.976, allocations: 269.4 kB / 3.692 GB, free: 93.21 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/6.976, allocations: 432.7 kB / 3.692 GB, free: 93.04 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/6.977, allocations: 341.9 kB / 3.693 GB, free: 93.02 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/6.977, allocations: 0 / 3.693 GB, free: 93.02 MB / 0.6982 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001418/6.979, allocations: 0.7704 MB / 3.693 GB, free: 92.93 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001679/6.979, allocations: 0.8772 MB / 3.694 GB, free: 92.02 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/6.979, allocations: 7.5 kB / 3.694 GB, free: 92.02 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/6.979, allocations: 3.938 kB / 3.694 GB, free: 92.02 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/6.98, allocations: 257.1 kB / 3.694 GB, free: 92.01 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005496/6.981, allocations: 1.216 MB / 3.696 GB, free: 90.84 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/6.982, allocations: 180.4 kB / 3.696 GB, free: 90.81 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/6.982, allocations: 39.84 kB / 3.696 GB, free: 90.81 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/6.982, allocations: 3.781 kB / 3.696 GB, free: 90.81 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/6.984, allocations: 0.662 MB / 3.697 GB, free: 90.78 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/6.984, allocations: 2.938 kB / 3.697 GB, free: 90.78 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/6.984, allocations: 2.75 kB / 3.697 GB, free: 90.78 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/6.985, allocations: 248.5 kB / 3.697 GB, free: 90.77 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/6.985, allocations: 3.875 kB / 3.697 GB, free: 90.77 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/6.986, allocations: 175 kB / 3.697 GB, free: 90.75 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/6.986, allocations: 36.67 kB / 3.697 GB, free: 90.75 MB / 0.6982 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.0001964/6.986, allocations: 126.9 kB / 3.697 GB, free: 90.63 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/6.986, allocations: 90.44 kB / 3.697 GB, free: 90.58 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/6.988, allocations: 0.8664 MB / 3.698 GB, free: 90.51 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/6.988, allocations: 7.75 kB / 3.698 GB, free: 90.51 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/6.988, allocations: 0 / 3.698 GB, free: 90.51 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/6.988, allocations: 10.88 kB / 3.698 GB, free: 90.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/6.991, allocations: 1.932 MB / 3.7 GB, free: 90.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/6.991, allocations: 6.812 kB / 3.7 GB, free: 90.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/6.992, allocations: 229.5 kB / 3.7 GB, free: 90.09 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-06/6.992, allocations: 3.031 kB / 3.7 GB, free: 90.09 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/6.992, allocations: 22.62 kB / 3.7 GB, free: 90.09 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003986/6.993, allocations: 1.199 MB / 3.701 GB, free: 88.92 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/6.993, allocations: 6.969 kB / 3.701 GB, free: 88.92 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001563/6.994, allocations: 1.064 MB / 3.702 GB, free: 88.45 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001923/6.996, allocations: 1.548 MB / 3.704 GB, free: 87.62 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/6.997, allocations: 283.7 kB / 3.704 GB, free: 87.47 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/6.997, allocations: 11.36 kB / 3.704 GB, free: 87.46 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/6.998, allocations: 168 kB / 3.704 GB, free: 87.46 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/6.998, allocations: 54.95 kB / 3.704 GB, free: 87.46 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/6.998, allocations: 32.36 kB / 3.704 GB, free: 87.46 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005924/6.999, allocations: 448.3 kB / 3.705 GB, free: 87.36 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003635/7.003, allocations: 1.014 MB / 3.706 GB, free: 87.29 MB / 0.6982 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.002645/7.005, allocations: 1.876 MB / 3.708 GB, free: 86.77 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002132/7.007, allocations: 1.141 MB / 3.709 GB, free: 86.66 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/7.007, allocations: 0 / 3.709 GB, free: 86.66 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0007468/7.008, allocations: 422.7 kB / 3.709 GB, free: 86.64 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/7.01, allocations: 331 kB / 3.71 GB, free: 86.64 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/7.013, allocations: 1.368 MB / 3.711 GB, free: 86.11 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/7.014, allocations: 1.164 MB / 3.712 GB, free: 85.38 MB / 0.6982 GB Notification: Performance of SimCode: time 4.41e-07/7.014, allocations: 0 / 3.712 GB, free: 85.38 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)