Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.172/2.172, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 177.2 kB / 490.8 MB, free: 1.934 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.647/1.647, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009697, allocations: 81.81 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7228/0.7238, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/1.051, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/2.18, allocations: 434.8 MB / 1.636 GB, free: 12.93 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/2.181, allocations: 88.08 kB / 1.636 GB, free: 12.89 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 2.873/5.054, allocations: 0.6533 GB / 2.29 GB, free: 242.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/5.054, allocations: 7.75 kB / 2.29 GB, free: 242.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/5.057, allocations: 492.1 kB / 2.29 GB, free: 242.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004389/5.061, allocations: 1.325 MB / 2.291 GB, free: 242.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/5.061, allocations: 107.4 kB / 2.292 GB, free: 242.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/5.062, allocations: 50.97 kB / 2.292 GB, free: 242.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001694/5.063, allocations: 0.6339 MB / 2.292 GB, free: 242.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/5.065, allocations: 0.7667 MB / 2.293 GB, free: 242.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/5.065, allocations: 1.5 kB / 2.293 GB, free: 242.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/5.065, allocations: 7.344 kB / 2.293 GB, free: 242.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/5.065, allocations: 31.81 kB / 2.293 GB, free: 242.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009156/5.074, allocations: 4.789 MB / 2.298 GB, free: 239.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/5.077, allocations: 0.6784 MB / 2.298 GB, free: 239.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/5.078, allocations: 195.2 kB / 2.299 GB, free: 239.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007677/5.078, allocations: 0.904 MB / 2.299 GB, free: 238.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/5.078, allocations: 49.12 kB / 2.299 GB, free: 238.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 5.851e-06/5.078, allocations: 0 / 2.299 GB, free: 238.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=43): time 0.003687/5.082, allocations: 0.8156 MB / 2.3 GB, free: 238.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/5.082, allocations: 56.78 kB / 2.3 GB, free: 238.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/5.084, allocations: 0.7496 MB / 2.301 GB, free: 238.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/5.084, allocations: 28.7 kB / 2.301 GB, free: 238.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/5.085, allocations: 391.8 kB / 2.301 GB, free: 238 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/5.085, allocations: 142.9 kB / 2.302 GB, free: 237.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/5.085, allocations: 2.594 kB / 2.302 GB, free: 237.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001256/5.085, allocations: 330.5 kB / 2.302 GB, free: 237.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/5.086, allocations: 177 kB / 2.302 GB, free: 237.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/5.086, allocations: 429.6 kB / 2.302 GB, free: 237.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/5.087, allocations: 261.4 kB / 2.303 GB, free: 237.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/5.087, allocations: 0 / 2.303 GB, free: 237.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003752/5.091, allocations: 0.9525 MB / 2.304 GB, free: 237.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008318/5.092, allocations: 1.655 MB / 2.305 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/5.092, allocations: 3.906 kB / 2.305 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009787/5.093, allocations: 230 kB / 2.305 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/5.094, allocations: 139.5 kB / 2.306 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/5.095, allocations: 0.883 MB / 2.306 GB, free: 235 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/5.097, allocations: 190.1 kB / 2.307 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/5.097, allocations: 35.69 kB / 2.307 GB, free: 234.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/5.097, allocations: 3.969 kB / 2.307 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003352/5.101, allocations: 0.8109 MB / 2.308 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/5.101, allocations: 7.656 kB / 2.308 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007844/5.102, allocations: 240.2 kB / 2.308 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/5.102, allocations: 133.9 kB / 2.308 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/5.103, allocations: 0.8701 MB / 2.309 GB, free: 234.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/5.105, allocations: 164 kB / 2.309 GB, free: 234.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/5.105, allocations: 26.73 kB / 2.309 GB, free: 234.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0003044/5.105, allocations: 117.9 kB / 2.309 GB, free: 234.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004626/5.106, allocations: 97.38 kB / 2.309 GB, free: 234.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/5.109, allocations: 0.9713 MB / 2.31 GB, free: 234.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/5.109, allocations: 6.531 kB / 2.31 GB, free: 234.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/5.109, allocations: 3.906 kB / 2.31 GB, free: 234.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/5.11, allocations: 3.469 kB / 2.31 GB, free: 234.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005269/5.115, allocations: 1.937 MB / 2.312 GB, free: 233.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/5.115, allocations: 0 / 2.312 GB, free: 233.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/5.115, allocations: 85 kB / 2.312 GB, free: 233.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007289/5.116, allocations: 239.6 kB / 2.312 GB, free: 233.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/5.116, allocations: 10.83 kB / 2.312 GB, free: 233.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/5.117, allocations: 0.9075 MB / 2.313 GB, free: 233.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/5.117, allocations: 3.906 kB / 2.313 GB, free: 233.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003345/5.121, allocations: 1.146 MB / 2.314 GB, free: 232.8 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003946/5.124, allocations: 1.579 MB / 2.316 GB, free: 232 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008702/5.125, allocations: 271.9 kB / 2.316 GB, free: 231.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003944/5.126, allocations: 0 / 2.316 GB, free: 231.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/5.127, allocations: 119.9 kB / 2.316 GB, free: 231.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/5.127, allocations: 30.41 kB / 2.316 GB, free: 231.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/5.127, allocations: 27.3 kB / 2.316 GB, free: 231.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001204/5.128, allocations: 0.5779 MB / 2.317 GB, free: 231.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005134/5.134, allocations: 0.8134 MB / 2.318 GB, free: 231.7 MB / 1.167 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 (32): * Single equations (assignments): 27 * 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.001997/5.136, allocations: 0.6784 MB / 2.318 GB, free: 231.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00221/5.138, allocations: 0.8083 MB / 2.319 GB, free: 231.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/5.138, allocations: 0 / 2.319 GB, free: 231.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005879/5.138, allocations: 281.3 kB / 2.319 GB, free: 231.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/5.141, allocations: 376.1 kB / 2.32 GB, free: 231.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00651/5.147, allocations: 1.652 MB / 2.321 GB, free: 231 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/5.149, allocations: 1.168 MB / 2.322 GB, free: 230.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.816e-06/5.149, allocations: 0 / 2.322 GB, free: 230.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)