Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",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.001057/0.001056, allocations: 186.5 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.4522/0.4522, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.335/1.335, allocations: 221.4 MB / 342.7 MB, free: 5.41 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.001035/0.001035, allocations: 90.27 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1591/0.1602, allocations: 78.45 MB / 493.9 MB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.504, allocations: 72.3 MB / 0.553 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.591/1.095, allocations: 386.1 MB / 0.9301 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/1.095, allocations: 93.59 kB / 0.9302 GB, free: 2.645 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 3.525/4.62, allocations: 1.071 GB / 2.001 GB, free: 83.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/4.62, allocations: 10.78 kB / 2.001 GB, free: 83.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/4.622, allocations: 379.6 kB / 2.001 GB, free: 83.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/4.626, allocations: 1.268 MB / 2.002 GB, free: 83.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/4.626, allocations: 103.1 kB / 2.002 GB, free: 83.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/4.626, allocations: 50.62 kB / 2.002 GB, free: 83.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001443/4.628, allocations: 0.6061 MB / 2.003 GB, free: 83.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/4.629, allocations: 0.7475 MB / 2.004 GB, free: 82.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/4.629, allocations: 0 / 2.004 GB, free: 82.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/4.63, allocations: 7.797 kB / 2.004 GB, free: 82.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/4.63, allocations: 34.05 kB / 2.004 GB, free: 82.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00659/4.636, allocations: 4.685 MB / 2.008 GB, free: 80.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/4.637, allocations: 396.5 kB / 2.009 GB, free: 80.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/4.637, allocations: 185.9 kB / 2.009 GB, free: 80.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/4.638, allocations: 1.375 MB / 2.01 GB, free: 78.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/4.638, allocations: 40.78 kB / 2.01 GB, free: 78.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 2.986e-06/4.638, allocations: 0 / 2.01 GB, free: 78.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.00321/4.642, allocations: 0.8128 MB / 2.011 GB, free: 78.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/4.642, allocations: 55.28 kB / 2.011 GB, free: 78.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/4.643, allocations: 0.7481 MB / 2.012 GB, free: 78.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/4.643, allocations: 32.36 kB / 2.012 GB, free: 78.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/4.643, allocations: 383.3 kB / 2.012 GB, free: 78.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/4.643, allocations: 146.8 kB / 2.012 GB, free: 78.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/4.643, allocations: 0 / 2.012 GB, free: 78.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/4.643, allocations: 325.7 kB / 2.013 GB, free: 77.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/4.644, allocations: 162 kB / 2.013 GB, free: 77.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/4.644, allocations: 395.3 kB / 2.013 GB, free: 77.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009614/4.645, allocations: 321.2 kB / 2.014 GB, free: 77.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/4.645, allocations: 2.656 kB / 2.014 GB, free: 77.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003291/4.648, allocations: 0.9673 MB / 2.015 GB, free: 77.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003083/4.649, allocations: 1.573 MB / 2.016 GB, free: 75.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/4.649, allocations: 3.125 kB / 2.016 GB, free: 75.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007015/4.649, allocations: 225.7 kB / 2.016 GB, free: 75.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/4.65, allocations: 111.5 kB / 2.016 GB, free: 75.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009991/4.651, allocations: 0.8859 MB / 2.017 GB, free: 75.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/4.652, allocations: 164.7 kB / 2.017 GB, free: 75.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/4.652, allocations: 33.59 kB / 2.017 GB, free: 75.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/4.652, allocations: 3.688 kB / 2.017 GB, free: 75.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003367/4.656, allocations: 0.8439 MB / 2.018 GB, free: 75.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/4.656, allocations: 4.5 kB / 2.018 GB, free: 75.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007864/4.657, allocations: 225.8 kB / 2.018 GB, free: 75.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/4.657, allocations: 115.1 kB / 2.019 GB, free: 75.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/4.658, allocations: 0.8652 MB / 2.019 GB, free: 74.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/4.659, allocations: 135.6 kB / 2.02 GB, free: 74.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/4.66, allocations: 36.16 kB / 2.02 GB, free: 74.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001669/4.66, allocations: 122.2 kB / 2.02 GB, free: 74.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/4.66, allocations: 100.9 kB / 2.02 GB, free: 74.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/4.664, allocations: 1.017 MB / 2.021 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/4.664, allocations: 8.969 kB / 2.021 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/4.664, allocations: 3.562 kB / 2.021 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/4.664, allocations: 6.844 kB / 2.021 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/4.668, allocations: 1.897 MB / 2.023 GB, free: 74.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/4.668, allocations: 3.828 kB / 2.023 GB, free: 74.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/4.669, allocations: 56.19 kB / 2.023 GB, free: 74.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006413/4.669, allocations: 241.7 kB / 2.023 GB, free: 74.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/4.669, allocations: 3.781 kB / 2.023 GB, free: 74.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009258/4.67, allocations: 0.9138 MB / 2.024 GB, free: 73.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/4.67, allocations: 3.906 kB / 2.024 GB, free: 73.54 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00308/4.673, allocations: 1.152 MB / 2.025 GB, free: 73.14 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003361/4.677, allocations: 1.588 MB / 2.027 GB, free: 72.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005969/4.677, allocations: 258.1 kB / 2.027 GB, free: 72.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/4.678, allocations: 7.766 kB / 2.027 GB, free: 72.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009937/4.679, allocations: 91.73 kB / 2.027 GB, free: 72.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/4.679, allocations: 34.06 kB / 2.027 GB, free: 72.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-05/4.679, allocations: 27.95 kB / 2.027 GB, free: 72.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.000929/4.68, allocations: 0.5704 MB / 2.028 GB, free: 72.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004036/4.684, allocations: 0.8309 MB / 2.028 GB, free: 71.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/4.685, allocations: 0.7023 MB / 2.029 GB, free: 71.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001659/4.687, allocations: 0.7604 MB / 2.03 GB, free: 71.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/4.687, allocations: 0 / 2.03 GB, free: 71.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004789/4.687, allocations: 248.6 kB / 2.03 GB, free: 71.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/4.689, allocations: 379.2 kB / 2.03 GB, free: 71.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/4.693, allocations: 1.341 MB / 2.032 GB, free: 71.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000826/4.693, allocations: 1.163 MB / 2.033 GB, free: 70.62 MB / 0.6198 GB Notification: Performance of SimCode: time 7.02e-07/4.694, allocations: 0 / 2.033 GB, free: 70.62 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)