Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Continuous.Validation.Log,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.348/1.348, allocations: 285.5 MB / 292.8 MB, free: 9.895 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.000931/0.000931, allocations: 173.3 kB / 361.1 MB, free: 396 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.029/1.029, allocations: 205.2 MB / 0.6195 GB, free: 2.891 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007578/0.0007578, allocations: 83.44 kB / 0.7326 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3504/0.3512, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.4955, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3992/0.8947, allocations: 136.8 MB / 1.097 GB, free: 43.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001523/0.8949, allocations: 66.78 kB / 1.097 GB, free: 43.9 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001462/0.8964, allocations: 0.6642 MB / 1.098 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.8964, allocations: 11.62 kB / 1.098 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.8964, allocations: 5.312 kB / 1.098 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.592e-05/0.8965, allocations: 161 kB / 1.098 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.8965, allocations: 1.547 kB / 1.098 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.8965, allocations: 4.828 kB / 1.098 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.375e-05/0.8966, allocations: 9.562 kB / 1.098 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.755e-05/0.8966, allocations: 41.14 kB / 1.098 GB, free: 43.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-06/0.8966, allocations: 0.75 kB / 1.098 GB, free: 43.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.8967, allocations: 4 kB / 1.098 GB, free: 43.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.8967, allocations: 5.984 kB / 1.098 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.8969, allocations: 240.3 kB / 1.099 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.285e-05/0.897, allocations: 36.19 kB / 1.099 GB, free: 43.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.897, allocations: 10.73 kB / 1.099 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.897, allocations: 3.219 kB / 1.099 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.977e-06/0.897, allocations: 31.88 kB / 1.099 GB, free: 43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.897, allocations: 0.75 kB / 1.099 GB, free: 43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001082/0.8972, allocations: 40.5 kB / 1.099 GB, free: 42.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.169e-05/0.8972, allocations: 58.62 kB / 1.099 GB, free: 42.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.519e-05/0.8972, allocations: 92.39 kB / 1.099 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.77e-06/0.8972, allocations: 25.7 kB / 1.099 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.278e-05/0.8973, allocations: 83.08 kB / 1.099 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.8973, allocations: 8.156 kB / 1.099 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.8973, allocations: 0 / 1.099 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 2.964e-05/0.8973, allocations: 316 kB / 1.099 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.8973, allocations: 7.219 kB / 1.099 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.8973, allocations: 7.219 kB / 1.099 GB, free: 42.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.429e-05/0.8974, allocations: 6.438 kB / 1.099 GB, free: 42.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8974, allocations: 0 / 1.099 GB, free: 42.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.396e-05/0.8974, allocations: 48.81 kB / 1.099 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.8974, allocations: 3.219 kB / 1.099 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.8974, allocations: 0 / 1.099 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.8975, allocations: 0 / 1.099 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.8976, allocations: 18.19 kB / 1.099 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.8976, allocations: 3.891 kB / 1.099 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.8976, allocations: 10.11 kB / 1.099 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.8976, allocations: 3.938 kB / 1.099 GB, free: 42.33 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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 3.108e-05/0.8977, allocations: 101 kB / 1.099 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.8977, allocations: 7.094 kB / 1.099 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.538e-05/0.8978, allocations: 47.48 kB / 1.099 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.8978, allocations: 0 / 1.099 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.8978, allocations: 5 kB / 1.099 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.8978, allocations: 0 / 1.099 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.868e-05/0.8979, allocations: 142.5 kB / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.8979, allocations: 0 / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.898, allocations: 10.47 kB / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.898, allocations: 0 / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.898, allocations: 7.688 kB / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.898, allocations: 0 / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.898, allocations: 0 / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.874e-05/0.898, allocations: 139.6 kB / 1.1 GB, free: 41.88 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001835/0.8982, allocations: 0.5049 MB / 1.1 GB, free: 57.37 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.8983, allocations: 81.02 kB / 1.1 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.8983, allocations: 7.031 kB / 1.1 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.8984, allocations: 6.406 kB / 1.1 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.8984, allocations: 7.234 kB / 1.1 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-06/0.8984, allocations: 0 / 1.1 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.306e-05/0.8984, allocations: 78.53 kB / 1.1 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007332/0.8992, allocations: 10.38 kB / 1.1 GB, free: 57.2 MB / 0.7292 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 (2): * Single equations (assignments): 2 * 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 9.095e-05/0.8993, allocations: 99.03 kB / 1.1 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.349e-05/0.8993, allocations: 16.75 kB / 1.101 GB, free: 57.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-06/0.8994, allocations: 0 / 1.101 GB, free: 57.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.637e-05/0.8994, allocations: 5.906 kB / 1.101 GB, free: 57.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.8995, allocations: 23.98 kB / 1.101 GB, free: 57.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001508/0.8997, allocations: 60.47 kB / 1.101 GB, free: 57.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.8999, allocations: 0.6869 MB / 1.101 GB, free: 56.32 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.8999, allocations: 0 / 1.101 GB, free: 56.32 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1)