Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.163/2.163, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001281/0.001281, allocations: 178.1 kB / 490.8 MB, free: 1.945 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.555/1.555, allocations: 221.3 MB / 0.7863 GB, free: 13.73 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.000971/0.000971, allocations: 87.34 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7225/0.7235, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/1.049, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.337/6.386, allocations: 2.186 GB / 3.398 GB, free: 123 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/6.386, allocations: 95.03 kB / 3.398 GB, free: 122.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 3.541/9.928, allocations: 0.9557 GB / 4.354 GB, free: 29.25 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/9.928, allocations: 8 kB / 4.354 GB, free: 29.24 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003896/9.932, allocations: 0.5831 MB / 4.354 GB, free: 28.65 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004797/9.936, allocations: 1.383 MB / 4.356 GB, free: 27.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006335/9.937, allocations: 189.9 kB / 4.356 GB, free: 27.03 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/9.937, allocations: 71.91 kB / 4.356 GB, free: 26.96 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001879/9.939, allocations: 0.9607 MB / 4.357 GB, free: 26 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/9.941, allocations: 1.09 MB / 4.358 GB, free: 24.87 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/9.941, allocations: 4 kB / 4.358 GB, free: 24.87 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/9.941, allocations: 0 / 4.358 GB, free: 24.87 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/9.941, allocations: 45.98 kB / 4.358 GB, free: 24.82 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009369/9.951, allocations: 5.281 MB / 4.363 GB, free: 19.28 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/9.952, allocations: 0.767 MB / 4.364 GB, free: 18.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/9.953, allocations: 421.3 kB / 4.364 GB, free: 18.09 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/9.954, allocations: 0.8383 MB / 4.365 GB, free: 17.08 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007242/9.954, allocations: 0.4911 MB / 4.366 GB, free: 16.58 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 5.2e-06/9.954, allocations: 7.922 kB / 4.366 GB, free: 16.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.002618/9.957, allocations: 1.01 MB / 4.367 GB, free: 15.55 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/9.957, allocations: 119.5 kB / 4.367 GB, free: 15.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/9.958, allocations: 0.8918 MB / 4.368 GB, free: 14.51 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/9.958, allocations: 33.64 kB / 4.368 GB, free: 14.47 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/9.959, allocations: 453.1 kB / 4.368 GB, free: 14.02 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/9.959, allocations: 267.9 kB / 4.368 GB, free: 13.75 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.139e-05/9.959, allocations: 0 / 4.368 GB, free: 13.75 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001011/9.959, allocations: 353.9 kB / 4.369 GB, free: 13.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/9.96, allocations: 386.5 kB / 4.369 GB, free: 13.02 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/9.961, allocations: 0.6835 MB / 4.37 GB, free: 12.22 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/9.962, allocations: 0.5164 MB / 4.37 GB, free: 11.71 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/9.962, allocations: 0 / 4.37 GB, free: 11.71 MB / 1.151 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002372/9.964, allocations: 1.22 MB / 4.371 GB, free: 10.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000463/9.965, allocations: 2.025 MB / 4.373 GB, free: 8.312 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/9.965, allocations: 4 kB / 4.373 GB, free: 8.309 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/9.965, allocations: 16 kB / 4.373 GB, free: 8.293 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/9.967, allocations: 363.5 kB / 4.374 GB, free: 7.938 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000654/9.967, allocations: 1.219 MB / 4.375 GB, free: 6.672 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/9.969, allocations: 211 kB / 4.375 GB, free: 6.465 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/9.97, allocations: 55.97 kB / 4.375 GB, free: 6.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/9.97, allocations: 4 kB / 4.375 GB, free: 6.406 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002148/9.972, allocations: 1.04 MB / 4.376 GB, free: 5.363 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/9.972, allocations: 8 kB / 4.376 GB, free: 5.355 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/9.972, allocations: 8 kB / 4.376 GB, free: 5.348 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/9.973, allocations: 352.2 kB / 4.377 GB, free: 5.004 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/9.973, allocations: 19.94 kB / 4.377 GB, free: 4.984 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/9.975, allocations: 195.1 kB / 4.377 GB, free: 4.793 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/9.976, allocations: 59.84 kB / 4.377 GB, free: 4.734 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003527/9.976, allocations: 132.7 kB / 4.377 GB, free: 4.598 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/9.976, allocations: 138.2 kB / 4.377 GB, free: 4.461 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/9.979, allocations: 1.145 MB / 4.378 GB, free: 3.305 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/9.979, allocations: 15.98 kB / 4.378 GB, free: 3.289 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/9.979, allocations: 0 / 4.378 GB, free: 3.289 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/9.979, allocations: 3.984 kB / 4.378 GB, free: 3.285 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/9.983, allocations: 2.564 MB / 4.381 GB, free: 0.6211 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/9.984, allocations: 7.984 kB / 4.381 GB, free: 0.6133 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/9.985, allocations: 264 kB / 4.381 GB, free: 364 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/9.985, allocations: 8 kB / 4.381 GB, free: 356 kB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-05/9.985, allocations: 31.88 kB / 4.381 GB, free: 324 kB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007736/9.986, allocations: 1.199 MB / 4.382 GB, free: 15.07 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/9.986, allocations: 4 kB / 4.382 GB, free: 15.06 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00363/9.989, allocations: 1.977 MB / 4.384 GB, free: 12.91 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005052/9.994, allocations: 3.053 MB / 4.387 GB, free: 9.668 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/9.996, allocations: 362.9 kB / 4.387 GB, free: 9.293 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/9.996, allocations: 8 kB / 4.387 GB, free: 9.285 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/9.997, allocations: 147.8 kB / 4.388 GB, free: 9.141 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/9.998, allocations: 64.56 kB / 4.388 GB, free: 9.078 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/9.998, allocations: 43.97 kB / 4.388 GB, free: 9.035 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001255/9.999, allocations: 0.6706 MB / 4.388 GB, free: 8.359 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006902/10.01, allocations: 1.486 MB / 4.39 GB, free: 6.871 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005582/10.01, allocations: 2.298 MB / 4.392 GB, free: 4.488 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005524/10.02, allocations: 1.661 MB / 4.394 GB, free: 2.82 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/10.02, allocations: 4.938 kB / 4.394 GB, free: 2.816 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/10.02, allocations: 0.5144 MB / 4.394 GB, free: 2.305 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/10.02, allocations: 486.1 kB / 4.395 GB, free: 1.832 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7222/10.74, allocations: 2.097 MB / 4.397 GB, free: 323.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/10.75, allocations: 1.412 MB / 4.398 GB, free: 323.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.824e-06/10.75, allocations: 3.844 kB / 4.398 GB, free: 323.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)