Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.27/2.27, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001152/0.001152, allocations: 185.3 kB / 490.8 MB, free: 1.949 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.668/1.668, allocations: 221.4 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.001142/0.001142, allocations: 93.67 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7758/0.7769, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/1.093, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/2.156, allocations: 437.2 MB / 1.639 GB, free: 10.66 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/2.156, allocations: 87.77 kB / 1.639 GB, free: 10.62 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 4.483/6.64, allocations: 1.31 GB / 2.949 GB, free: 96.87 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/6.64, allocations: 8.656 kB / 2.949 GB, free: 96.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005039/6.645, allocations: 0.9794 MB / 2.949 GB, free: 95.95 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007425/6.652, allocations: 2.592 MB / 2.952 GB, free: 93.35 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009804/6.653, allocations: 285 kB / 2.952 GB, free: 93.09 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005555/6.654, allocations: 96 kB / 2.952 GB, free: 93 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003031/6.657, allocations: 1.26 MB / 2.954 GB, free: 91.73 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003342/6.66, allocations: 1.498 MB / 2.955 GB, free: 90.16 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/6.66, allocations: 0 / 2.955 GB, free: 90.16 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/6.661, allocations: 7.906 kB / 2.955 GB, free: 90.16 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.236e-05/6.661, allocations: 75.86 kB / 2.955 GB, free: 90.08 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/6.677, allocations: 9.026 MB / 2.964 GB, free: 80.61 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/6.678, allocations: 0.8073 MB / 2.965 GB, free: 79.79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/6.679, allocations: 342.3 kB / 2.965 GB, free: 79.45 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007758/6.68, allocations: 1.575 MB / 2.967 GB, free: 77.52 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/6.68, allocations: 42.55 kB / 2.967 GB, free: 77.47 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 2.935e-06/6.68, allocations: 0 / 2.967 GB, free: 77.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=78): time 0.006803/6.687, allocations: 1.676 MB / 2.968 GB, free: 75.78 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/6.687, allocations: 85.11 kB / 2.968 GB, free: 75.68 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/6.69, allocations: 1.529 MB / 2.97 GB, free: 74.12 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002335/6.69, allocations: 33.7 kB / 2.97 GB, free: 74.08 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/6.691, allocations: 0.7139 MB / 2.971 GB, free: 73.35 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000365/6.691, allocations: 260.1 kB / 2.971 GB, free: 73.09 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-05/6.691, allocations: 0 / 2.971 GB, free: 73.09 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.947e-05/6.691, allocations: 345.9 kB / 2.971 GB, free: 72.75 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/6.692, allocations: 341.9 kB / 2.971 GB, free: 72.41 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/6.692, allocations: 0.7435 MB / 2.972 GB, free: 71.48 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/6.694, allocations: 499.7 kB / 2.973 GB, free: 71 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/6.694, allocations: 4 kB / 2.973 GB, free: 71 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003011/6.697, allocations: 1.376 MB / 2.974 GB, free: 69.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/6.697, allocations: 8 kB / 2.974 GB, free: 69.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/6.697, allocations: 8 kB / 2.974 GB, free: 69.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/6.699, allocations: 0.7332 MB / 2.975 GB, free: 68.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/6.7, allocations: 239.6 kB / 2.975 GB, free: 68.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/6.703, allocations: 1.892 MB / 2.977 GB, free: 66.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/6.706, allocations: 386.7 kB / 2.977 GB, free: 66.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/6.706, allocations: 55.97 kB / 2.977 GB, free: 66.27 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_TEva.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_y.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: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 19,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003476/6.706, allocations: 147.2 kB / 2.977 GB, free: 66.12 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/6.707, allocations: 201.5 kB / 2.978 GB, free: 65.92 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005852/6.713, allocations: 1.694 MB / 2.979 GB, free: 64.21 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/6.713, allocations: 11.98 kB / 2.979 GB, free: 64.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/6.713, allocations: 4 kB / 2.979 GB, free: 64.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/6.713, allocations: 7.984 kB / 2.979 GB, free: 64.19 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00671/6.719, allocations: 3.22 MB / 2.982 GB, free: 60.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/6.719, allocations: 4.375 kB / 2.982 GB, free: 60.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/6.72, allocations: 95.88 kB / 2.983 GB, free: 60.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/6.722, allocations: 0.7455 MB / 2.983 GB, free: 60.05 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.129e-05/6.722, allocations: 19.92 kB / 2.983 GB, free: 60.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/6.724, allocations: 1.891 MB / 2.985 GB, free: 58.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/6.724, allocations: 7.938 kB / 2.985 GB, free: 58.09 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004573/6.729, allocations: 1.914 MB / 2.987 GB, free: 56 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005381/6.734, allocations: 2.43 MB / 2.989 GB, free: 53.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/6.736, allocations: 470.1 kB / 2.99 GB, free: 52.92 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006761/6.736, allocations: 4 kB / 2.99 GB, free: 52.91 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/6.739, allocations: 179.8 kB / 2.99 GB, free: 52.74 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/6.739, allocations: 51.83 kB / 2.99 GB, free: 52.69 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/6.739, allocations: 43.97 kB / 2.99 GB, free: 52.64 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002055/6.741, allocations: 1.161 MB / 2.991 GB, free: 51.46 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004418/6.745, allocations: 1.049 MB / 2.992 GB, free: 50.41 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 21,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001933/6.747, allocations: 1.27 MB / 2.993 GB, free: 49.17 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002374/6.75, allocations: 1.036 MB / 2.994 GB, free: 48.13 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/6.75, allocations: 0 / 2.994 GB, free: 48.13 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/6.751, allocations: 0.5927 MB / 2.995 GB, free: 47.54 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/6.755, allocations: 0.7905 MB / 2.996 GB, free: 46.78 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/6.762, allocations: 2.587 MB / 2.998 GB, free: 44.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/6.763, allocations: 1.678 MB / 3 GB, free: 42.39 MB / 1.151 GB Notification: Performance of SimCode: time 1.493e-06/6.763, allocations: 0 / 3 GB, free: 42.39 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)