Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_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.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_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.212/2.212, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.00111/0.00111, allocations: 189.2 kB / 490.8 MB, free: 1.883 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.588/1.588, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.001111/0.001111, allocations: 98.55 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7911/0.7923, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/1.071, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/2.284, allocations: 434.7 MB / 1.636 GB, free: 13.02 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/2.285, allocations: 84.39 kB / 1.636 GB, free: 12.98 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.922/5.207, allocations: 0.6519 GB / 2.288 GB, free: 226 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/5.207, allocations: 7.875 kB / 2.288 GB, free: 226 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/5.21, allocations: 0.5297 MB / 2.289 GB, free: 226 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/5.214, allocations: 1.336 MB / 2.29 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003497/5.214, allocations: 108.7 kB / 2.29 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/5.214, allocations: 50.16 kB / 2.29 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001349/5.215, allocations: 0.6454 MB / 2.291 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/5.217, allocations: 0.7762 MB / 2.291 GB, free: 225.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/5.217, allocations: 3.844 kB / 2.291 GB, free: 225.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/5.217, allocations: 0 / 2.291 GB, free: 225.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/5.217, allocations: 30.62 kB / 2.291 GB, free: 225.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006207/5.223, allocations: 4.708 MB / 2.296 GB, free: 223.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000961/5.224, allocations: 0.5508 MB / 2.297 GB, free: 223.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/5.224, allocations: 278.4 kB / 2.297 GB, free: 223.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006444/5.225, allocations: 0.8566 MB / 2.298 GB, free: 222.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/5.225, allocations: 48.31 kB / 2.298 GB, free: 222.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/5.225, allocations: 0 / 2.298 GB, free: 222.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=53): time 0.003249/5.228, allocations: 0.9359 MB / 2.299 GB, free: 222 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/5.228, allocations: 58.62 kB / 2.299 GB, free: 222 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009193/5.229, allocations: 0.6941 MB / 2.299 GB, free: 221.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/5.23, allocations: 29.42 kB / 2.299 GB, free: 221.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/5.23, allocations: 361.2 kB / 2.3 GB, free: 221.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/5.23, allocations: 178.2 kB / 2.3 GB, free: 221.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/5.23, allocations: 3.391 kB / 2.3 GB, free: 221.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/5.23, allocations: 327.8 kB / 2.3 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/5.23, allocations: 213.8 kB / 2.3 GB, free: 221.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/5.231, allocations: 394.1 kB / 2.301 GB, free: 221 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/5.232, allocations: 286.1 kB / 2.301 GB, free: 221 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/5.232, allocations: 0 / 2.301 GB, free: 221 MB / 1.167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001514/5.233, allocations: 0.7666 MB / 2.302 GB, free: 220.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/5.233, allocations: 0.9665 MB / 2.303 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/5.233, allocations: 0 / 2.303 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008183/5.234, allocations: 303 kB / 2.303 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/5.235, allocations: 123.3 kB / 2.303 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/5.236, allocations: 0.9688 MB / 2.304 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/5.237, allocations: 152.5 kB / 2.304 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/5.237, allocations: 33.23 kB / 2.304 GB, free: 219.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/5.237, allocations: 3.719 kB / 2.304 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00132/5.239, allocations: 0.6277 MB / 2.305 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/5.239, allocations: 3.938 kB / 2.305 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007302/5.239, allocations: 302.4 kB / 2.305 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/5.24, allocations: 125 kB / 2.305 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/5.241, allocations: 0.9459 MB / 2.306 GB, free: 218.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/5.242, allocations: 149.1 kB / 2.306 GB, free: 218.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-05/5.243, allocations: 34.39 kB / 2.306 GB, free: 218.8 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.con.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.0003412/5.243, allocations: 124.6 kB / 2.307 GB, free: 218.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/5.243, allocations: 97.91 kB / 2.307 GB, free: 218.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/5.247, allocations: 1.091 MB / 2.308 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/5.247, allocations: 11.16 kB / 2.308 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/5.247, allocations: 0 / 2.308 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/5.247, allocations: 0 / 2.308 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004453/5.251, allocations: 1.904 MB / 2.31 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/5.252, allocations: 6.406 kB / 2.31 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/5.252, allocations: 102 kB / 2.31 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008602/5.253, allocations: 318.4 kB / 2.31 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/5.253, allocations: 14.02 kB / 2.31 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/5.254, allocations: 0.9859 MB / 2.311 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/5.254, allocations: 3.844 kB / 2.311 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004469/5.259, allocations: 1.358 MB / 2.312 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004205/5.263, allocations: 1.797 MB / 2.314 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/5.264, allocations: 280.1 kB / 2.314 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/5.264, allocations: 0 / 2.314 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/5.265, allocations: 131 kB / 2.314 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/5.265, allocations: 41.75 kB / 2.315 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/5.265, allocations: 23.08 kB / 2.315 GB, free: 216.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0007952/5.266, allocations: 0.5301 MB / 2.315 GB, free: 216.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003693/5.27, allocations: 0.8044 MB / 2.316 GB, free: 216.1 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.001668/5.271, allocations: 0.6701 MB / 2.317 GB, free: 216 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002499/5.274, allocations: 0.9408 MB / 2.317 GB, free: 216 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/5.274, allocations: 0 / 2.317 GB, free: 216 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007105/5.275, allocations: 341.8 kB / 2.318 GB, free: 216 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/5.277, allocations: 417 kB / 2.318 GB, free: 215.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/5.28, allocations: 1.414 MB / 2.32 GB, free: 215.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007732/5.281, allocations: 1.186 MB / 2.321 GB, free: 214.8 MB / 1.167 GB Notification: Performance of SimCode: time 8.62e-07/5.281, allocations: 0 / 2.321 GB, free: 214.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)