Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.456/2.456, 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.0011/0.001099, allocations: 181.2 kB / 490.8 MB, free: 1.918 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.501/1.501, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.001009/0.001009, allocations: 94.78 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7616/0.7626, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/1.103, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/2.346, allocations: 434.7 MB / 1.636 GB, free: 13.33 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/2.347, allocations: 92.17 kB / 1.636 GB, free: 13.28 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.833/5.18, allocations: 0.6518 GB / 2.288 GB, free: 223.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/5.18, allocations: 7.844 kB / 2.288 GB, free: 223.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/5.183, allocations: 0.5316 MB / 2.289 GB, free: 223.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004647/5.188, allocations: 1.338 MB / 2.29 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004044/5.188, allocations: 101.2 kB / 2.29 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/5.189, allocations: 54.66 kB / 2.29 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002138/5.191, allocations: 0.6526 MB / 2.291 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/5.193, allocations: 0.7778 MB / 2.291 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/5.193, allocations: 0 / 2.291 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/5.193, allocations: 3.688 kB / 2.291 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/5.193, allocations: 28.56 kB / 2.291 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008001/5.201, allocations: 4.701 MB / 2.296 GB, free: 220.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/5.202, allocations: 0.5465 MB / 2.297 GB, free: 220.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/5.203, allocations: 275.8 kB / 2.297 GB, free: 220.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006786/5.203, allocations: 0.8614 MB / 2.298 GB, free: 219.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/5.203, allocations: 40.47 kB / 2.298 GB, free: 219.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=53): time 3.276e-06/5.203, allocations: 2.344 kB / 2.298 GB, free: 219.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=53): time 0.001877/5.205, allocations: 0.7218 MB / 2.298 GB, free: 219.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/5.205, allocations: 55 kB / 2.298 GB, free: 219.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/5.206, allocations: 0.6918 MB / 2.299 GB, free: 219 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/5.206, allocations: 25.7 kB / 2.299 GB, free: 219 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/5.206, allocations: 363.5 kB / 2.3 GB, free: 218.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/5.207, allocations: 178.6 kB / 2.3 GB, free: 218.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/5.207, allocations: 0 / 2.3 GB, free: 218.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.758e-05/5.207, allocations: 332.9 kB / 2.3 GB, free: 218.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/5.207, allocations: 202.7 kB / 2.3 GB, free: 218.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/5.208, allocations: 413.6 kB / 2.301 GB, free: 218.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/5.208, allocations: 281.5 kB / 2.301 GB, free: 218.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/5.208, allocations: 3.844 kB / 2.301 GB, free: 218.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003295/5.212, allocations: 0.9954 MB / 2.302 GB, free: 218.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002559/5.212, allocations: 0.9666 MB / 2.303 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/5.212, allocations: 3.75 kB / 2.303 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008834/5.213, allocations: 298.8 kB / 2.303 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/5.213, allocations: 123.1 kB / 2.303 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/5.215, allocations: 0.9616 MB / 2.304 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/5.216, allocations: 156 kB / 2.304 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/5.216, allocations: 36.16 kB / 2.304 GB, free: 216.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/5.216, allocations: 3.875 kB / 2.304 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003021/5.219, allocations: 0.871 MB / 2.305 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/5.219, allocations: 3.391 kB / 2.305 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007332/5.22, allocations: 305.2 kB / 2.305 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/5.221, allocations: 122.5 kB / 2.306 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/5.222, allocations: 0.9411 MB / 2.307 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/5.223, allocations: 155.1 kB / 2.307 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/5.223, allocations: 33.84 kB / 2.307 GB, free: 215.9 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.eva.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002766/5.224, allocations: 122.2 kB / 2.307 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/5.224, allocations: 96.41 kB / 2.307 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003518/5.227, allocations: 1.11 MB / 2.308 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/5.227, allocations: 3.594 kB / 2.308 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/5.227, allocations: 3.25 kB / 2.308 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/5.227, allocations: 3.797 kB / 2.308 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/5.231, allocations: 1.899 MB / 2.31 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/5.231, allocations: 3.141 kB / 2.31 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/5.231, allocations: 100.2 kB / 2.31 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008134/5.232, allocations: 323.5 kB / 2.31 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/5.232, allocations: 11.42 kB / 2.31 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/5.234, allocations: 0.9917 MB / 2.311 GB, free: 214.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/5.234, allocations: 3.875 kB / 2.311 GB, free: 214.8 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001838/5.235, allocations: 0.9975 MB / 2.312 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001947/5.237, allocations: 1.433 MB / 2.314 GB, free: 213.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/5.238, allocations: 272.6 kB / 2.314 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/5.238, allocations: 7.328 kB / 2.314 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/5.239, allocations: 131.6 kB / 2.314 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/5.239, allocations: 36.34 kB / 2.314 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/5.239, allocations: 27.81 kB / 2.314 GB, free: 213.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0008028/5.24, allocations: 0.5242 MB / 2.315 GB, free: 213.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003594/5.244, allocations: 0.8078 MB / 2.315 GB, free: 213.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/5.245, allocations: 0.6756 MB / 2.316 GB, free: 213.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002033/5.247, allocations: 0.9352 MB / 2.317 GB, free: 213.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/5.247, allocations: 0 / 2.317 GB, free: 213.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005932/5.248, allocations: 339.6 kB / 2.317 GB, free: 213.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/5.25, allocations: 410.2 kB / 2.318 GB, free: 213.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/5.254, allocations: 1.384 MB / 2.319 GB, free: 212.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000852/5.255, allocations: 1.186 MB / 2.32 GB, free: 212 MB / 1.167 GB Notification: Performance of SimCode: time 1.653e-06/5.255, allocations: 0 / 2.32 GB, free: 212 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)