Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_IDEAS_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.001414/0.001414, allocations: 183.4 kB / 7.468 MB, free: 472 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7353/0.7353, allocations: 133.5 MB / 141.4 MB, free: 3.734 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 221.3 MB / 395 MB, free: 14.05 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009664/0.0009664, allocations: 101.9 kB / 477.8 MB, free: 3.969 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.5208/0.5218, allocations: 88.43 MB / 0.5529 GB, free: 90.65 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.7142, allocations: 82.29 MB / 0.6333 GB, free: 38.38 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.127/5.842, allocations: 2.128 GB / 2.761 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/5.842, allocations: 81.17 kB / 2.761 GB, free: 154.6 MB / 0.6856 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.765/8.607, allocations: 0.798 GB / 3.559 GB, free: 100.2 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/8.607, allocations: 7.75 kB / 3.559 GB, free: 100.2 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/8.61, allocations: 479.5 kB / 3.56 GB, free: 100.2 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/8.613, allocations: 1.048 MB / 3.561 GB, free: 99.84 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006241/8.614, allocations: 177.7 kB / 3.561 GB, free: 99.84 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/8.614, allocations: 49.22 kB / 3.561 GB, free: 99.84 MB / 0.6856 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001401/8.615, allocations: 0.7376 MB / 3.562 GB, free: 99.84 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/8.617, allocations: 0.8364 MB / 3.562 GB, free: 99.73 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/8.617, allocations: 2.781 kB / 3.562 GB, free: 99.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/8.617, allocations: 3.516 kB / 3.562 GB, free: 99.73 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/8.617, allocations: 40.28 kB / 3.563 GB, free: 99.72 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007632/8.624, allocations: 4.12 MB / 3.567 GB, free: 97.95 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008145/8.625, allocations: 0.5353 MB / 3.567 GB, free: 97.92 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/8.626, allocations: 341.6 kB / 3.567 GB, free: 97.91 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007874/8.627, allocations: 0.6411 MB / 3.568 GB, free: 97.25 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000828/8.627, allocations: 441.5 kB / 3.568 GB, free: 97.18 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=57): time 2.365e-06/8.627, allocations: 0 / 3.568 GB, free: 97.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=57): time 0.002233/8.63, allocations: 0.7346 MB / 3.569 GB, free: 97.09 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/8.63, allocations: 85.05 kB / 3.569 GB, free: 97 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009532/8.631, allocations: 0.567 MB / 3.57 GB, free: 96.88 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.882e-05/8.631, allocations: 34.02 kB / 3.57 GB, free: 96.84 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/8.631, allocations: 315.4 kB / 3.57 GB, free: 96.65 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/8.631, allocations: 192.1 kB / 3.57 GB, free: 96.53 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/8.631, allocations: 0 / 3.57 GB, free: 96.53 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001127/8.632, allocations: 329 kB / 3.571 GB, free: 96.22 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/8.632, allocations: 261 kB / 3.571 GB, free: 96.22 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/8.633, allocations: 426.5 kB / 3.571 GB, free: 96.05 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/8.634, allocations: 334.2 kB / 3.572 GB, free: 96.04 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/8.634, allocations: 0.5312 kB / 3.572 GB, free: 96.04 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002039/8.636, allocations: 0.7836 MB / 3.572 GB, free: 95.95 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002065/8.636, allocations: 0.8717 MB / 3.573 GB, free: 95.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/8.636, allocations: 2.281 kB / 3.573 GB, free: 95.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/8.636, allocations: 5.625 kB / 3.573 GB, free: 95.04 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/8.638, allocations: 252.8 kB / 3.573 GB, free: 95.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006449/8.638, allocations: 1.214 MB / 3.575 GB, free: 93.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/8.64, allocations: 185.3 kB / 3.575 GB, free: 93.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/8.64, allocations: 32.52 kB / 3.575 GB, free: 93.84 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/8.64, allocations: 6.656 kB / 3.575 GB, free: 93.84 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001608/8.642, allocations: 0.66 MB / 3.576 GB, free: 93.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/8.642, allocations: 2.656 kB / 3.576 GB, free: 93.81 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/8.642, allocations: 5.094 kB / 3.576 GB, free: 93.81 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/8.643, allocations: 235.8 kB / 3.576 GB, free: 93.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/8.643, allocations: 8 kB / 3.576 GB, free: 93.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/8.645, allocations: 176.2 kB / 3.576 GB, free: 93.79 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/8.645, allocations: 37.95 kB / 3.576 GB, free: 93.79 MB / 0.6856 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.0004216/8.645, allocations: 120.2 kB / 3.576 GB, free: 93.67 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003668/8.646, allocations: 90.5 kB / 3.576 GB, free: 93.62 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/8.648, allocations: 0.8683 MB / 3.577 GB, free: 93.54 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/8.648, allocations: 10.34 kB / 3.577 GB, free: 93.54 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/8.648, allocations: 0 / 3.577 GB, free: 93.54 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/8.649, allocations: 3.141 kB / 3.577 GB, free: 93.54 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005/8.654, allocations: 1.943 MB / 3.579 GB, free: 93.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/8.654, allocations: 1.156 kB / 3.579 GB, free: 93.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/8.655, allocations: 239.8 kB / 3.579 GB, free: 93.13 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.427e-05/8.655, allocations: 7.5 kB / 3.579 GB, free: 93.13 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/8.655, allocations: 18.41 kB / 3.579 GB, free: 93.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005827/8.656, allocations: 1.199 MB / 3.58 GB, free: 91.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/8.656, allocations: 3.703 kB / 3.58 GB, free: 91.96 MB / 0.6856 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002125/8.658, allocations: 1.065 MB / 3.581 GB, free: 91.49 MB / 0.6856 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002485/8.66, allocations: 1.55 MB / 3.583 GB, free: 90.65 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008114/8.661, allocations: 283.3 kB / 3.583 GB, free: 90.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/8.661, allocations: 6.766 kB / 3.583 GB, free: 90.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/8.663, allocations: 166.4 kB / 3.583 GB, free: 90.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/8.663, allocations: 50.45 kB / 3.583 GB, free: 90.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/8.663, allocations: 35.36 kB / 3.583 GB, free: 90.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 0.000892/8.664, allocations: 446 kB / 3.584 GB, free: 90.41 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00512/8.669, allocations: 1.023 MB / 3.585 GB, free: 90.33 MB / 0.6856 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.003553/8.673, allocations: 1.87 MB / 3.587 GB, free: 89.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002884/8.676, allocations: 1.14 MB / 3.588 GB, free: 89.71 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/8.676, allocations: 3.391 kB / 3.588 GB, free: 89.71 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009935/8.677, allocations: 425.7 kB / 3.588 GB, free: 89.69 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/8.679, allocations: 331.3 kB / 3.588 GB, free: 89.68 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/8.684, allocations: 1.365 MB / 3.59 GB, free: 89.25 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/8.685, allocations: 1.163 MB / 3.591 GB, free: 88.54 MB / 0.6856 GB Notification: Performance of SimCode: time 1.743e-06/8.685, allocations: 0 / 3.591 GB, free: 88.54 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)