Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",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.266/2.266, 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.001607/0.001607, allocations: 178.5 kB / 490.8 MB, free: 1.914 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.685/1.685, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0009801/0.0009803, allocations: 90.47 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7523/0.7533, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/1.059, allocations: 143 MB / 1.212 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9731/2.032, allocations: 151.7 MB / 1.36 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/2.032, allocations: 89.89 kB / 1.36 GB, free: 17.21 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.01278/2.045, allocations: 3.169 MB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.806e-05/2.045, allocations: 15.31 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/2.045, allocations: 13.97 kB / 1.363 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/2.045, allocations: 180 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/2.046, allocations: 3.625 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/2.046, allocations: 7.172 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002302/2.046, allocations: 58.25 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/2.046, allocations: 80.12 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/2.046, allocations: 0.9688 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/2.046, allocations: 0 / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/2.046, allocations: 2.719 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008938/2.047, allocations: 366.8 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/2.047, allocations: 80.95 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/2.047, allocations: 38.33 kB / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005166/2.048, allocations: 0.5594 MB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/2.048, allocations: 31.56 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.344e-06/2.048, allocations: 0 / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000483/2.048, allocations: 90.97 kB / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/2.049, allocations: 53.47 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/2.049, allocations: 116.2 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/2.049, allocations: 26.7 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/2.049, allocations: 103 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/2.049, allocations: 29.66 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/2.049, allocations: 0 / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002421/2.049, allocations: 318.2 kB / 1.365 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/2.049, allocations: 21.25 kB / 1.365 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/2.049, allocations: 21.34 kB / 1.365 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/2.05, allocations: 26.12 kB / 1.365 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/2.05, allocations: 4 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002782/2.05, allocations: 86.95 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/2.05, allocations: 8.469 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/2.05, allocations: 0 / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/2.05, allocations: 1.438 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/2.05, allocations: 38.23 kB / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/2.05, allocations: 2.625 kB / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/2.05, allocations: 32.81 kB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/2.05, allocations: 2.438 kB / 1.365 GB, free: 30.66 MB / 0.8386 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 (9): * Single equations (assignments): 9 * 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.0001147/2.05, allocations: 106.1 kB / 1.365 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/2.051, allocations: 8.062 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/2.051, allocations: 99.36 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/2.051, allocations: 3.078 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/2.051, allocations: 3.906 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/2.051, allocations: 0 / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/2.051, allocations: 180.2 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/2.051, allocations: 0.5 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/2.051, allocations: 34.09 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/2.051, allocations: 0 / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/2.051, allocations: 3.109 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/2.051, allocations: 7.906 kB / 1.366 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.051, allocations: 4 kB / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002825/2.052, allocations: 186.1 kB / 1.366 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004504/2.052, allocations: 0.5571 MB / 1.366 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/2.052, allocations: 90.25 kB / 1.367 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/2.052, allocations: 7.312 kB / 1.367 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/2.052, allocations: 17.5 kB / 1.367 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/2.053, allocations: 8.828 kB / 1.367 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/2.053, allocations: 1.062 kB / 1.367 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001016/2.053, allocations: 96.89 kB / 1.367 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001019/2.054, allocations: 32.78 kB / 1.367 GB, free: 29.48 MB / 0.8386 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 (9): * Single equations (assignments): 9 * 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.0003062/2.054, allocations: 116.7 kB / 1.367 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000243/2.054, allocations: 55.62 kB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/2.054, allocations: 1.25 kB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.763e-05/2.054, allocations: 35.19 kB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/2.055, allocations: 20.14 kB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/2.055, allocations: 127 kB / 1.367 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/2.056, allocations: 0.7216 MB / 1.368 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of SimCode: time 2.424e-06/2.056, allocations: 0 / 1.368 GB, free: 28.58 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat does not exist to compare? outputFormat=mat