Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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 8.0.1-maint.8.0.x/package.mo): time 1.311/1.311, allocations: 285.5 MB / 292.8 MB, free: 10.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009312/0.0009312, allocations: 189.2 kB / 361.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.005/1.005, allocations: 205.1 MB / 0.6195 GB, free: 10.24 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007595/0.0007595, allocations: 92.86 kB / 0.7326 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.172/0.1727, allocations: 121.5 MB / 0.8512 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.5778, allocations: 115.3 MB / 0.9638 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.7035, allocations: 137.3 MB / 1.098 GB, free: 2.715 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.7037, allocations: 70.31 kB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0048/0.7085, allocations: 1.829 MB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.7085, allocations: 9.438 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.7086, allocations: 7.906 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.7087, allocations: 159.1 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.7087, allocations: 4.531 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.7087, allocations: 8.484 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.097e-05/0.7088, allocations: 3.094 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.222e-05/0.7088, allocations: 42.97 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-06/0.7088, allocations: 0.6875 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.7088, allocations: 0 / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.7089, allocations: 2.938 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.7091, allocations: 266.7 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.06e-05/0.7092, allocations: 25.08 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.7092, allocations: 12.91 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.7092, allocations: 1.688 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.7093, allocations: 47.42 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.7093, allocations: 0.6562 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001159/0.7094, allocations: 50.86 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.7094, allocations: 52 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.7095, allocations: 114.4 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.7095, allocations: 29.7 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.7096, allocations: 80.14 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.7096, allocations: 11.91 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-06/0.7096, allocations: 0.5312 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.7097, allocations: 315.3 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.223e-05/0.7097, allocations: 32 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.7098, allocations: 42.56 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.71, allocations: 31.97 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.71, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002661/0.7102, allocations: 114.1 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.7103, allocations: 5.688 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7103, allocations: 10.03 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.7103, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.144e-05/0.7103, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.7103, allocations: 3.984 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.7105, allocations: 40.06 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.7105, allocations: 7.938 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.08e-05/0.7106, allocations: 109 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.7106, allocations: 8.422 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.7106, allocations: 8 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7106, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.7106, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7107, allocations: 4.547 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.729e-05/0.7107, allocations: 134.2 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7107, allocations: 4 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-06/0.7108, allocations: 3.906 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7108, allocations: 0 / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.7108, allocations: 0 / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7108, allocations: 3.031 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7108, allocations: 4 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.268e-05/0.7109, allocations: 74.58 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001406/0.711, allocations: 457.4 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.711, allocations: 81.11 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.7111, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.798e-05/0.7111, allocations: 4 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.7111, allocations: 3.938 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.7111, allocations: 11.98 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.668e-05/0.7112, allocations: 80.22 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007345/0.7119, allocations: 23.91 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001128/0.712, allocations: 118.9 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.7122, allocations: 77.62 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.7122, allocations: 4.188 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.7122, allocations: 8 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.7123, allocations: 12.17 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000153/0.7125, allocations: 60.73 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.7127, allocations: 0.6923 MB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.7127, allocations: 0 / 1.103 GB, free: 13.06 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)