Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [: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.006/2.006, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001208/0.001208, allocations: 179.9 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.265/1.265, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.0008785/0.0008785, allocations: 107.4 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.101e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2653, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.301, allocations: 441.9 MB / 1.643 GB, free: 7.137 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.301, allocations: 75.77 kB / 1.643 GB, free: 7.098 MB / 1.057 GB Notification: Performance of FrontEnd: time 0.03238/1.334, allocations: 13.36 MB / 1.656 GB, free: 12.08 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.973e-05/1.334, allocations: 7.938 kB / 1.656 GB, free: 12.07 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001215/1.335, allocations: 0.516 MB / 1.657 GB, free: 11.52 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 7.024e-05/1.335, allocations: 12.03 kB / 1.657 GB, free: 11.51 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/1.335, allocations: 19.8 kB / 1.657 GB, free: 11.49 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/1.336, allocations: 233.3 kB / 1.657 GB, free: 11.23 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/1.336, allocations: 19.98 kB / 1.657 GB, free: 11.21 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/1.336, allocations: 8 kB / 1.657 GB, free: 11.21 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009265/1.337, allocations: 0.6197 MB / 1.658 GB, free: 10.65 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/1.337, allocations: 215.6 kB / 1.658 GB, free: 10.46 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.337, allocations: 0 / 1.658 GB, free: 10.46 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/1.337, allocations: 4 kB / 1.658 GB, free: 10.46 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/1.337, allocations: 4 kB / 1.658 GB, free: 10.46 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/1.338, allocations: 273.3 kB / 1.658 GB, free: 10.18 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/1.338, allocations: 411.2 kB / 1.658 GB, free: 9.84 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/1.338, allocations: 166.7 kB / 1.659 GB, free: 9.711 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004625/1.339, allocations: 383.5 kB / 1.659 GB, free: 9.266 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/1.339, allocations: 43.19 kB / 1.659 GB, free: 9.219 MB / 1.073 GB Notification: Performance of pre-optimization done (n=37): time 2.375e-06/1.339, allocations: 0 / 1.659 GB, free: 9.219 MB / 1.073 GB Notification: Performance of matching and sorting (n=37): time 0.003179/1.342, allocations: 0.7048 MB / 1.66 GB, free: 8.551 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/1.342, allocations: 58.66 kB / 1.66 GB, free: 8.484 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/1.342, allocations: 110.7 kB / 1.66 GB, free: 8.375 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/1.342, allocations: 25.7 kB / 1.66 GB, free: 8.344 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/1.342, allocations: 88.05 kB / 1.66 GB, free: 8.258 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/1.342, allocations: 116.5 kB / 1.66 GB, free: 8.156 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/1.342, allocations: 0 / 1.66 GB, free: 8.156 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.000222/1.343, allocations: 333.8 kB / 1.66 GB, free: 7.828 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/1.343, allocations: 132.9 kB / 1.661 GB, free: 7.719 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/1.343, allocations: 144 kB / 1.661 GB, free: 7.605 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002561/1.346, allocations: 490.2 kB / 1.661 GB, free: 7.141 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.346, allocations: 0 / 1.661 GB, free: 7.141 MB / 1.073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002884/1.349, allocations: 0.6947 MB / 1.662 GB, free: 6.484 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.349, allocations: 11.94 kB / 1.662 GB, free: 6.473 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.349, allocations: 3.906 kB / 1.662 GB, free: 6.469 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/1.349, allocations: 4 kB / 1.662 GB, free: 6.465 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/1.349, allocations: 115.1 kB / 1.662 GB, free: 6.355 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.349, allocations: 11.88 kB / 1.662 GB, free: 6.344 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/1.349, allocations: 59.8 kB / 1.662 GB, free: 6.285 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/1.349, allocations: 15.61 kB / 1.662 GB, free: 6.273 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.35, allocations: 112.8 kB / 1.662 GB, free: 6.156 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/1.35, allocations: 15.81 kB / 1.662 GB, free: 6.141 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003059/1.353, allocations: 0.7547 MB / 1.663 GB, free: 5.441 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.353, allocations: 4 kB / 1.663 GB, free: 5.438 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.353, allocations: 0 / 1.663 GB, free: 5.438 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.353, allocations: 3.984 kB / 1.663 GB, free: 5.434 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/1.353, allocations: 285.7 kB / 1.663 GB, free: 5.141 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.353, allocations: 0 / 1.663 GB, free: 5.141 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/1.354, allocations: 123.2 kB / 1.663 GB, free: 5.023 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.354, allocations: 0 / 1.663 GB, free: 5.023 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/1.354, allocations: 4 kB / 1.663 GB, free: 5.02 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/1.354, allocations: 0 / 1.663 GB, free: 5.02 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.354, allocations: 7.891 kB / 1.663 GB, free: 5.012 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002909/1.357, allocations: 0.7321 MB / 1.664 GB, free: 4.312 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/1.357, allocations: 104.8 kB / 1.664 GB, free: 4.191 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/1.357, allocations: 0 / 1.664 GB, free: 4.191 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/1.357, allocations: 51.95 kB / 1.664 GB, free: 4.141 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/1.357, allocations: 82.67 kB / 1.664 GB, free: 4.066 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/1.357, allocations: 11.98 kB / 1.664 GB, free: 4.055 MB / 1.073 GB Notification: Performance of sort global known variables: time 8.243e-05/1.357, allocations: 99.31 kB / 1.664 GB, free: 3.965 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0005558/1.358, allocations: 115.5 kB / 1.665 GB, free: 3.855 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006256/1.359, allocations: 246.8 kB / 1.665 GB, free: 3.609 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0005666/1.359, allocations: 351.4 kB / 1.665 GB, free: 3.328 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.359, allocations: 0 / 1.665 GB, free: 3.328 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002495/1.359, allocations: 195 kB / 1.665 GB, free: 3.172 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/1.36, allocations: 61.11 kB / 1.665 GB, free: 3.125 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/1.361, allocations: 303 kB / 1.666 GB, free: 2.828 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/1.361, allocations: 0.7934 MB / 1.666 GB, free: 2.016 MB / 1.073 GB Notification: Performance of SimCode: time 3.81e-07/1.361, allocations: 0 / 1.666 GB, free: 2.016 MB / 1.073 GB Notification: Performance of Templates: time 0.01192/1.373, allocations: 6.082 MB / 1.672 GB, free: 12.04 MB / 1.089 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches