Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.322/2.322, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001447/0.001446, allocations: 188.3 kB / 490.8 MB, free: 1.938 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.537/1.537, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.001171/0.001171, allocations: 87.67 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7224/0.7236, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/1.035, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/2.272, allocations: 436.1 MB / 1.638 GB, free: 11.91 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/2.272, allocations: 96.86 kB / 1.638 GB, free: 11.86 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 2.874/5.146, allocations: 0.785 GB / 2.423 GB, free: 210.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/5.146, allocations: 11.94 kB / 2.423 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/5.149, allocations: 0.5167 MB / 2.423 GB, free: 210 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/5.153, allocations: 1.73 MB / 2.425 GB, free: 208.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/5.154, allocations: 123.6 kB / 2.425 GB, free: 208.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/5.154, allocations: 60 kB / 2.425 GB, free: 208.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001761/5.156, allocations: 0.8475 MB / 2.426 GB, free: 207.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/5.157, allocations: 1.041 MB / 2.427 GB, free: 206.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/5.157, allocations: 3.797 kB / 2.427 GB, free: 206.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.538e-05/5.157, allocations: 4 kB / 2.427 GB, free: 206.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/5.157, allocations: 37.98 kB / 2.427 GB, free: 206.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00836/5.166, allocations: 7.098 MB / 2.434 GB, free: 198.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008287/5.167, allocations: 0.5247 MB / 2.434 GB, free: 198.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/5.167, allocations: 230.1 kB / 2.435 GB, free: 197.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009279/5.168, allocations: 1.57 MB / 2.436 GB, free: 196 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/5.168, allocations: 39 kB / 2.436 GB, free: 196 MB / 1.151 GB Notification: Performance of pre-optimization done (n=48): time 2.955e-06/5.168, allocations: 0 / 2.436 GB, free: 196 MB / 1.151 GB Notification: Performance of matching and sorting (n=48): time 0.002564/5.17, allocations: 0.8022 MB / 2.437 GB, free: 195.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/5.171, allocations: 59.84 kB / 2.437 GB, free: 195.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/5.172, allocations: 0.9403 MB / 2.438 GB, free: 194.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/5.172, allocations: 25.7 kB / 2.438 GB, free: 194.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/5.172, allocations: 0.5055 MB / 2.438 GB, free: 193.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/5.172, allocations: 161.6 kB / 2.439 GB, free: 193.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/5.172, allocations: 0 / 2.439 GB, free: 193.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/5.172, allocations: 334.8 kB / 2.439 GB, free: 193.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/5.173, allocations: 233.5 kB / 2.439 GB, free: 192.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/5.173, allocations: 0.5367 MB / 2.44 GB, free: 192.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/5.175, allocations: 0.5379 MB / 2.44 GB, free: 191.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/5.175, allocations: 3.938 kB / 2.44 GB, free: 191.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002887/5.178, allocations: 1.079 MB / 2.441 GB, free: 190.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/5.178, allocations: 4 kB / 2.441 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/5.178, allocations: 8 kB / 2.441 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007952/5.179, allocations: 233.2 kB / 2.441 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/5.18, allocations: 190.4 kB / 2.442 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007341/5.18, allocations: 0.7506 MB / 2.442 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/5.182, allocations: 211.9 kB / 2.443 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/5.182, allocations: 43.98 kB / 2.443 GB, free: 189.2 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_b.chi.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002208/5.182, allocations: 133.5 kB / 2.443 GB, free: 189.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/5.183, allocations: 118.5 kB / 2.443 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/5.185, allocations: 1.12 MB / 2.444 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/5.185, allocations: 19.83 kB / 2.444 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/5.185, allocations: 3.594 kB / 2.444 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/5.185, allocations: 7.859 kB / 2.444 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005506/5.191, allocations: 2.384 MB / 2.446 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/5.191, allocations: 4 kB / 2.446 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/5.191, allocations: 87.17 kB / 2.446 GB, free: 185.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006964/5.192, allocations: 223.3 kB / 2.447 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/5.192, allocations: 4 kB / 2.447 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006589/5.193, allocations: 0.7545 MB / 2.447 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/5.193, allocations: 0 / 2.447 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00348/5.196, allocations: 1.307 MB / 2.449 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003807/5.2, allocations: 1.765 MB / 2.45 GB, free: 181.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006838/5.201, allocations: 327.1 kB / 2.451 GB, free: 180.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/5.201, allocations: 7.938 kB / 2.451 GB, free: 180.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/5.202, allocations: 101.1 kB / 2.451 GB, free: 180.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/5.202, allocations: 39.2 kB / 2.451 GB, free: 180.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/5.202, allocations: 31.97 kB / 2.451 GB, free: 180.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001044/5.203, allocations: 0.7101 MB / 2.451 GB, free: 180 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002521/5.206, allocations: 0.6201 MB / 2.452 GB, free: 179.3 MB / 1.151 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 (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001412/5.207, allocations: 0.8369 MB / 2.453 GB, free: 178.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00123/5.208, allocations: 0.6565 MB / 2.454 GB, free: 178 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/5.208, allocations: 3.5 kB / 2.454 GB, free: 178 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005409/5.209, allocations: 345.9 kB / 2.454 GB, free: 177.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/5.211, allocations: 422.4 kB / 2.454 GB, free: 177.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/5.214, allocations: 1.623 MB / 2.456 GB, free: 175.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008676/5.215, allocations: 1.306 MB / 2.457 GB, free: 174.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.493e-06/5.215, allocations: 3.516 kB / 2.457 GB, free: 174.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)