Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_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.003639/0.003639, allocations: 184.3 kB / 7.462 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7245/0.7245, allocations: 133.5 MB / 141.4 MB, free: 15.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 102.3 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4883/0.4894, allocations: 88.41 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.6821, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.318/6.001, allocations: 2.128 GB / 2.761 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/6.001, allocations: 83.95 kB / 2.761 GB, free: 111.8 MB / 0.6823 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.998/8.999, allocations: 0.798 GB / 3.559 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/8.999, allocations: 11.98 kB / 3.559 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/9.001, allocations: 474.1 kB / 3.56 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/9.004, allocations: 1.052 MB / 3.561 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006084/9.004, allocations: 173.9 kB / 3.561 GB, free: 86.74 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/9.004, allocations: 43.98 kB / 3.561 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001249/9.006, allocations: 0.7458 MB / 3.562 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/9.007, allocations: 0.8349 MB / 3.562 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/9.007, allocations: 0 / 3.562 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/9.007, allocations: 0 / 3.562 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.915e-05/9.007, allocations: 45.83 kB / 3.563 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006582/9.014, allocations: 4.129 MB / 3.567 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007176/9.014, allocations: 0.5272 MB / 3.567 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/9.015, allocations: 338.2 kB / 3.567 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007309/9.016, allocations: 0.6401 MB / 3.568 GB, free: 79.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005686/9.016, allocations: 439.8 kB / 3.568 GB, free: 78.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 3.166e-06/9.016, allocations: 0 / 3.568 GB, free: 78.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.001658/9.018, allocations: 0.7375 MB / 3.569 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/9.018, allocations: 81.61 kB / 3.569 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006553/9.019, allocations: 0.5708 MB / 3.57 GB, free: 77.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/9.019, allocations: 25.7 kB / 3.57 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/9.019, allocations: 320.1 kB / 3.57 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/9.019, allocations: 189.2 kB / 3.57 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/9.019, allocations: 0 / 3.57 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/9.019, allocations: 326 kB / 3.571 GB, free: 76.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/9.02, allocations: 261.2 kB / 3.571 GB, free: 76.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/9.02, allocations: 426.8 kB / 3.571 GB, free: 75.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/9.021, allocations: 341.3 kB / 3.572 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/9.021, allocations: 0 / 3.572 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001341/9.022, allocations: 0.7803 MB / 3.572 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/9.022, allocations: 0.8712 MB / 3.573 GB, free: 73.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/9.022, allocations: 4 kB / 3.573 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/9.022, allocations: 8 kB / 3.573 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/9.024, allocations: 264.6 kB / 3.573 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005764/9.024, allocations: 1.215 MB / 3.575 GB, free: 72.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/9.026, allocations: 175.6 kB / 3.575 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.566e-05/9.026, allocations: 35.97 kB / 3.575 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/9.026, allocations: 4 kB / 3.575 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001227/9.027, allocations: 0.6586 MB / 3.575 GB, free: 71.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/9.027, allocations: 4 kB / 3.576 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/9.027, allocations: 4 kB / 3.576 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/9.028, allocations: 243.9 kB / 3.576 GB, free: 70.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/9.028, allocations: 4 kB / 3.576 GB, free: 70.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/9.029, allocations: 182.9 kB / 3.576 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.107e-05/9.029, allocations: 35.97 kB / 3.576 GB, free: 70.7 MB / 0.6823 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.0002205/9.03, allocations: 112.9 kB / 3.576 GB, free: 70.58 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/9.03, allocations: 94.88 kB / 3.576 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/9.031, allocations: 0.8559 MB / 3.577 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/9.031, allocations: 16 kB / 3.577 GB, free: 69.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/9.031, allocations: 0 / 3.577 GB, free: 69.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/9.032, allocations: 7.922 kB / 3.577 GB, free: 69.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/9.035, allocations: 1.938 MB / 3.579 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/9.035, allocations: 4 kB / 3.579 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/9.036, allocations: 234.4 kB / 3.579 GB, free: 67.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/9.036, allocations: 8 kB / 3.579 GB, free: 67.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/9.036, allocations: 19.97 kB / 3.579 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004229/9.036, allocations: 1.199 MB / 3.58 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/9.036, allocations: 4.188 kB / 3.58 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001424/9.038, allocations: 1.065 MB / 3.581 GB, free: 64.91 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001731/9.039, allocations: 1.555 MB / 3.583 GB, free: 63.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/9.04, allocations: 279.7 kB / 3.583 GB, free: 62.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/9.04, allocations: 4 kB / 3.583 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/9.041, allocations: 163.8 kB / 3.583 GB, free: 62.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/9.041, allocations: 60.25 kB / 3.583 GB, free: 62.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.926e-05/9.042, allocations: 31.98 kB / 3.583 GB, free: 62.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005343/9.042, allocations: 443.1 kB / 3.584 GB, free: 62.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003598/9.046, allocations: 1.022 MB / 3.585 GB, free: 61.23 MB / 0.6823 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.00251/9.048, allocations: 1.879 MB / 3.587 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002257/9.05, allocations: 1.136 MB / 3.588 GB, free: 58.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/9.05, allocations: 4.062 kB / 3.588 GB, free: 58.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007379/9.051, allocations: 421.3 kB / 3.588 GB, free: 57.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/9.053, allocations: 342.3 kB / 3.589 GB, free: 57.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/9.056, allocations: 1.357 MB / 3.59 GB, free: 56.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008307/9.057, allocations: 1.16 MB / 3.591 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of SimCode: time 9.72e-07/9.057, allocations: 4 kB / 3.591 GB, free: 54.88 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)