Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.254/2.254, 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.001189/0.001189, allocations: 187.8 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.623/1.623, 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.001145/0.001145, allocations: 98.67 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7821/0.7833, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/1.071, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/2.286, allocations: 434.6 MB / 1.636 GB, free: 13.16 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/2.286, allocations: 89.67 kB / 1.636 GB, free: 13.12 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 4.645/6.932, allocations: 1.071 GB / 2.707 GB, free: 227.4 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/6.932, allocations: 7.656 kB / 2.707 GB, free: 227.4 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/6.934, allocations: 382.3 kB / 2.707 GB, free: 227.3 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/6.938, allocations: 1.259 MB / 2.708 GB, free: 227 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004119/6.938, allocations: 107.1 kB / 2.708 GB, free: 227 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/6.939, allocations: 48.66 kB / 2.708 GB, free: 227 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00162/6.94, allocations: 0.6085 MB / 2.709 GB, free: 227 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/6.942, allocations: 0.7539 MB / 2.71 GB, free: 226.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/6.942, allocations: 0 / 2.71 GB, free: 226.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.524e-05/6.942, allocations: 0 / 2.71 GB, free: 226.9 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/6.942, allocations: 37.03 kB / 2.71 GB, free: 226.9 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007029/6.949, allocations: 4.713 MB / 2.714 GB, free: 224.3 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/6.95, allocations: 406.2 kB / 2.715 GB, free: 224.3 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/6.95, allocations: 191.2 kB / 2.715 GB, free: 224.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/6.951, allocations: 1.368 MB / 2.716 GB, free: 222.8 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/6.951, allocations: 37.41 kB / 2.716 GB, free: 222.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=43): time 2.525e-06/6.951, allocations: 3.828 kB / 2.716 GB, free: 222.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=43): time 0.003181/6.955, allocations: 0.8574 MB / 2.717 GB, free: 222.6 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/6.955, allocations: 62.91 kB / 2.717 GB, free: 222.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/6.956, allocations: 0.7435 MB / 2.718 GB, free: 222.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/6.956, allocations: 25.7 kB / 2.718 GB, free: 222.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/6.956, allocations: 388.3 kB / 2.718 GB, free: 222.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/6.956, allocations: 140.6 kB / 2.719 GB, free: 222.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/6.956, allocations: 0 / 2.719 GB, free: 222.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/6.956, allocations: 330.2 kB / 2.719 GB, free: 221.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/6.956, allocations: 169.6 kB / 2.719 GB, free: 221.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/6.957, allocations: 393.9 kB / 2.719 GB, free: 221.6 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009678/6.958, allocations: 333.2 kB / 2.72 GB, free: 221.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/6.958, allocations: 3.688 kB / 2.72 GB, free: 221.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001668/6.959, allocations: 0.7561 MB / 2.72 GB, free: 221.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.000274/6.96, allocations: 1.488 MB / 2.722 GB, free: 220 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/6.96, allocations: 11.44 kB / 2.722 GB, free: 220 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006835/6.96, allocations: 238.8 kB / 2.722 GB, free: 219.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/6.961, allocations: 109 kB / 2.722 GB, free: 219.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009382/6.962, allocations: 0.8808 MB / 2.723 GB, free: 219.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/6.963, allocations: 168.9 kB / 2.723 GB, free: 219.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/6.963, allocations: 29.58 kB / 2.723 GB, free: 219.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/6.963, allocations: 4.375 kB / 2.723 GB, free: 219.4 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001467/6.965, allocations: 0.624 MB / 2.724 GB, free: 219.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/6.965, allocations: 6.125 kB / 2.724 GB, free: 219.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/6.965, allocations: 241.1 kB / 2.724 GB, free: 219.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/6.966, allocations: 109.2 kB / 2.724 GB, free: 219.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008582/6.967, allocations: 0.8718 MB / 2.725 GB, free: 218.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/6.968, allocations: 139.2 kB / 2.725 GB, free: 218.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/6.968, allocations: 31.27 kB / 2.725 GB, free: 218.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001573/6.968, allocations: 120 kB / 2.725 GB, free: 218.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/6.968, allocations: 97.81 kB / 2.725 GB, free: 218.7 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/6.972, allocations: 1.026 MB / 2.726 GB, free: 218.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/6.972, allocations: 7.406 kB / 2.726 GB, free: 218.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/6.972, allocations: 7.375 kB / 2.726 GB, free: 218.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/6.972, allocations: 11.31 kB / 2.726 GB, free: 218.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004495/6.976, allocations: 1.934 MB / 2.728 GB, free: 218.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/6.976, allocations: 3.969 kB / 2.728 GB, free: 218.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/6.976, allocations: 53.11 kB / 2.728 GB, free: 218.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006255/6.977, allocations: 255.2 kB / 2.729 GB, free: 218.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/6.977, allocations: 7.578 kB / 2.729 GB, free: 218.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000928/6.978, allocations: 0.9162 MB / 2.73 GB, free: 217.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/6.978, allocations: 1.5 kB / 2.73 GB, free: 217.7 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003121/6.981, allocations: 1.205 MB / 2.731 GB, free: 217.3 MB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003319/6.984, allocations: 1.628 MB / 2.732 GB, free: 216.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/6.985, allocations: 266.9 kB / 2.733 GB, free: 216.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/6.985, allocations: 7.062 kB / 2.733 GB, free: 216.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008077/6.986, allocations: 96.66 kB / 2.733 GB, free: 216.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/6.986, allocations: 35.64 kB / 2.733 GB, free: 216.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/6.986, allocations: 22.7 kB / 2.733 GB, free: 216.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.0007007/6.987, allocations: 0.5693 MB / 2.733 GB, free: 216.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003045/6.99, allocations: 0.8335 MB / 2.734 GB, free: 216.2 MB / 1.182 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.001062/6.991, allocations: 0.688 MB / 2.735 GB, free: 216 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.001408/6.992, allocations: 0.7657 MB / 2.736 GB, free: 216 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/6.992, allocations: 2.406 kB / 2.736 GB, free: 216 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0004214/6.993, allocations: 264.8 kB / 2.736 GB, free: 216 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/6.994, allocations: 376.3 kB / 2.736 GB, free: 216 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/6.997, allocations: 1.359 MB / 2.737 GB, free: 215.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/6.998, allocations: 1.173 MB / 2.739 GB, free: 214.9 MB / 1.182 GB Notification: Performance of SimCode: time 2.324e-06/6.998, allocations: 0 / 2.739 GB, free: 214.9 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)