Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 2.19/2.19, allocations: 390.4 MB / 397.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 186.2 kB / 490.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.4 MB / 0.7863 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 105.9 kB / 0.9264 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.398/0.3993, allocations: 149.1 MB / 1.072 GB, free: 15.44 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9219/1.321, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/2.406, allocations: 434.8 MB / 1.636 GB, free: 236.9 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/2.406, allocations: 84.58 kB / 1.636 GB, free: 236.9 MB / 1.026 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.895/6.301, allocations: 1.071 GB / 2.707 GB, free: 113.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/6.301, allocations: 8 kB / 2.707 GB, free: 113.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/6.303, allocations: 379 kB / 2.707 GB, free: 113.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/6.307, allocations: 1.267 MB / 2.708 GB, free: 111.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/6.308, allocations: 112 kB / 2.709 GB, free: 111.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/6.308, allocations: 48 kB / 2.709 GB, free: 111.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001604/6.31, allocations: 0.6054 MB / 2.709 GB, free: 111.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/6.311, allocations: 0.744 MB / 2.71 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/6.311, allocations: 3.906 kB / 2.71 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/6.311, allocations: 4 kB / 2.71 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/6.311, allocations: 33.98 kB / 2.71 GB, free: 110.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007255/6.319, allocations: 4.671 MB / 2.715 GB, free: 105.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/6.319, allocations: 411 kB / 2.715 GB, free: 104.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/6.32, allocations: 180.8 kB / 2.715 GB, free: 104.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/6.321, allocations: 1.367 MB / 2.716 GB, free: 103.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/6.321, allocations: 39.31 kB / 2.716 GB, free: 103.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 3.656e-06/6.321, allocations: 0.6562 kB / 2.716 GB, free: 103.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.00339/6.324, allocations: 0.8214 MB / 2.717 GB, free: 102.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/6.324, allocations: 55.41 kB / 2.717 GB, free: 102.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/6.326, allocations: 0.7469 MB / 2.718 GB, free: 101.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/6.326, allocations: 29.7 kB / 2.718 GB, free: 101.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/6.326, allocations: 388.8 kB / 2.718 GB, free: 101 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/6.326, allocations: 145.9 kB / 2.719 GB, free: 100.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/6.326, allocations: 0 / 2.719 GB, free: 100.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/6.327, allocations: 326.7 kB / 2.719 GB, free: 100.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/6.327, allocations: 161.5 kB / 2.719 GB, free: 100.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/6.327, allocations: 392.7 kB / 2.719 GB, free: 99.89 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/6.328, allocations: 310.8 kB / 2.72 GB, free: 99.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/6.328, allocations: 0 / 2.72 GB, free: 99.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0042/6.333, allocations: 0.9776 MB / 2.721 GB, free: 98.63 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005077/6.333, allocations: 1.576 MB / 2.722 GB, free: 96.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/6.333, allocations: 7.984 kB / 2.722 GB, free: 96.92 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008407/6.334, allocations: 227.8 kB / 2.722 GB, free: 96.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/6.335, allocations: 107.9 kB / 2.723 GB, free: 96.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/6.336, allocations: 0.884 MB / 2.723 GB, free: 95.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/6.337, allocations: 167.6 kB / 2.724 GB, free: 95.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/6.338, allocations: 27.98 kB / 2.724 GB, free: 95.49 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/6.338, allocations: 7.906 kB / 2.724 GB, free: 95.48 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003063/6.341, allocations: 0.8436 MB / 2.724 GB, free: 94.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/6.341, allocations: 4 kB / 2.724 GB, free: 94.63 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/6.341, allocations: 225 kB / 2.725 GB, free: 94.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/6.342, allocations: 111.8 kB / 2.725 GB, free: 94.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/6.343, allocations: 0.8815 MB / 2.726 GB, free: 93.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/6.344, allocations: 133.4 kB / 2.726 GB, free: 93.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/6.344, allocations: 35.98 kB / 2.726 GB, free: 93.23 MB / 1.151 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.0003161/6.345, allocations: 117 kB / 2.726 GB, free: 93.11 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/6.345, allocations: 102.8 kB / 2.726 GB, free: 93.01 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/6.35, allocations: 1.021 MB / 2.727 GB, free: 91.99 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/6.35, allocations: 11.91 kB / 2.727 GB, free: 91.98 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/6.35, allocations: 0 / 2.727 GB, free: 91.98 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/6.35, allocations: 3.984 kB / 2.727 GB, free: 91.97 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006731/6.357, allocations: 1.905 MB / 2.729 GB, free: 90.01 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/6.357, allocations: 4.688 kB / 2.729 GB, free: 90.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/6.357, allocations: 52.17 kB / 2.729 GB, free: 89.96 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006957/6.358, allocations: 244 kB / 2.729 GB, free: 89.72 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/6.358, allocations: 7.984 kB / 2.729 GB, free: 89.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009941/6.359, allocations: 0.913 MB / 2.73 GB, free: 88.77 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/6.359, allocations: 7.984 kB / 2.73 GB, free: 88.77 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003332/6.362, allocations: 1.148 MB / 2.731 GB, free: 87.53 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003413/6.365, allocations: 1.576 MB / 2.733 GB, free: 85.86 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/6.366, allocations: 267.5 kB / 2.733 GB, free: 85.58 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/6.366, allocations: 4 kB / 2.733 GB, free: 85.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/6.367, allocations: 95.91 kB / 2.733 GB, free: 85.48 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/6.367, allocations: 35.64 kB / 2.733 GB, free: 85.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/6.368, allocations: 23.98 kB / 2.733 GB, free: 85.42 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009574/6.368, allocations: 0.5755 MB / 2.734 GB, free: 84.84 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003867/6.372, allocations: 0.8305 MB / 2.734 GB, free: 84 MB / 1.151 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.001459/6.374, allocations: 0.6871 MB / 2.735 GB, free: 83.36 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001715/6.376, allocations: 0.7686 MB / 2.736 GB, free: 82.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/6.376, allocations: 0 / 2.736 GB, free: 82.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004914/6.376, allocations: 250 kB / 2.736 GB, free: 82.35 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/6.378, allocations: 376 kB / 2.736 GB, free: 81.99 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/6.382, allocations: 1.336 MB / 2.738 GB, free: 80.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007858/6.383, allocations: 1.167 MB / 2.739 GB, free: 79.4 MB / 1.151 GB Notification: Performance of SimCode: time 6.61e-07/6.383, allocations: 0 / 2.739 GB, free: 79.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)