Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",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 1.969/1.969, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.00123/0.00123, allocations: 173.3 kB / 490.8 MB, free: 1.984 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.324/1.324, allocations: 221.3 MB / 0.7863 GB, free: 13.76 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.0009444/0.0009443, allocations: 97.05 kB / 0.9264 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5629/0.5639, allocations: 149.2 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.8042, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6807/1.485, allocations: 151.2 MB / 1.359 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.485, allocations: 78.83 kB / 1.359 GB, free: 17.16 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.01133/1.497, allocations: 4.257 MB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.497, allocations: 8.531 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/1.497, allocations: 30.06 kB / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/1.497, allocations: 263.6 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/1.497, allocations: 16.08 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/1.497, allocations: 13.41 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003168/1.498, allocations: 131 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/1.498, allocations: 199.6 kB / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.498, allocations: 1.25 kB / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/1.498, allocations: 4.734 kB / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/1.498, allocations: 5.844 kB / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/1.499, allocations: 0.7964 MB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008452/1.5, allocations: 290.3 kB / 1.365 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/1.5, allocations: 80.89 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/1.5, allocations: 2.594 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/1.501, allocations: 99.06 kB / 1.365 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 2.325e-06/1.501, allocations: 0.9688 kB / 1.365 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003647/1.501, allocations: 134 kB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/1.501, allocations: 79.23 kB / 1.366 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/1.501, allocations: 185.7 kB / 1.366 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/1.501, allocations: 25.7 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/1.501, allocations: 145.1 kB / 1.366 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/1.501, allocations: 49.48 kB / 1.366 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/1.501, allocations: 0.5469 kB / 1.366 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.502, allocations: 332.5 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/1.502, allocations: 38.5 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/1.502, allocations: 77.53 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.526e-05/1.502, allocations: 47.34 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.502, allocations: 1.188 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002904/1.502, allocations: 157.6 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/1.502, allocations: 183.8 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.502, allocations: 1.688 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.502, allocations: 1.406 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/1.503, allocations: 41.14 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1.503, allocations: 5.281 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/1.503, allocations: 17.67 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/1.503, allocations: 5.438 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/1.503, allocations: 4.031 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001925/1.503, allocations: 104.3 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/1.503, allocations: 0 / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/1.503, allocations: 5.219 kB / 1.367 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/1.503, allocations: 27.78 kB / 1.367 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/1.503, allocations: 1.312 kB / 1.367 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/1.503, allocations: 16.47 kB / 1.367 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/1.503, allocations: 9.188 kB / 1.367 GB, free: 30.71 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001098/1.503, allocations: 111.6 kB / 1.367 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/1.503, allocations: 15.88 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.399e-05/1.504, allocations: 20.48 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.504, allocations: 2.625 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.504, allocations: 3.938 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/1.504, allocations: 5.547 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/1.504, allocations: 494 kB / 1.368 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/1.504, allocations: 4 kB / 1.368 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/1.504, allocations: 34.98 kB / 1.368 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.504, allocations: 0 / 1.368 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/1.504, allocations: 2.672 kB / 1.368 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/1.504, allocations: 5.281 kB / 1.368 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.504, allocations: 3.984 kB / 1.368 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003793/1.505, allocations: 303.9 kB / 1.368 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000631/1.505, allocations: 0.7319 MB / 1.369 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/1.505, allocations: 99.28 kB / 1.369 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/1.506, allocations: 1.031 kB / 1.369 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/1.506, allocations: 17.05 kB / 1.369 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/1.506, allocations: 8.562 kB / 1.369 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/1.506, allocations: 4.531 kB / 1.369 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001647/1.506, allocations: 148 kB / 1.369 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001608/1.508, allocations: 85.58 kB / 1.369 GB, free: 29.42 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (freProTMix.con.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001427/1.508, allocations: 106 kB / 1.369 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000328/1.508, allocations: 176.5 kB / 1.369 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.508, allocations: 0 / 1.369 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.049e-05/1.508, allocations: 60.77 kB / 1.369 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/1.509, allocations: 33.44 kB / 1.369 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/1.509, allocations: 274 kB / 1.37 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/1.51, allocations: 0.777 MB / 1.37 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.51, allocations: 0 / 1.37 GB, free: 28.46 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1)