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.Round.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.Round,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009409/0.000941, allocations: 183.7 kB / 361.1 MB, free: 7.086 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.001/1.001, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007962/0.0007962, allocations: 89.58 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1755/0.1763, allocations: 121.5 MB / 0.8512 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.5783, allocations: 115.3 MB / 0.9638 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.7063, allocations: 136.8 MB / 1.097 GB, free: 3.121 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/0.7065, allocations: 68.56 kB / 1.097 GB, free: 3.055 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00357/0.7101, allocations: 1.196 MB / 1.099 GB, free: 1.855 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.7101, allocations: 9.094 kB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.7102, allocations: 7.906 kB / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.7103, allocations: 172.3 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.7103, allocations: 6.75 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.7104, allocations: 0 / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001064/0.7105, allocations: 51.86 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.825e-05/0.7106, allocations: 58.39 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.7106, allocations: 0.6875 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.7106, allocations: 0 / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.7106, allocations: 5.453 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.7111, allocations: 322.2 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.7112, allocations: 70.5 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.7113, allocations: 25.73 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.7113, allocations: 3.984 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.7113, allocations: 32.09 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.7113, allocations: 0 / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001878/0.7115, allocations: 73.58 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.7116, allocations: 57.31 kB / 1.1 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.7116, allocations: 107.1 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.7117, allocations: 26.2 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.7117, allocations: 97 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.7117, allocations: 11.75 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.7118, allocations: 0.5312 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.7118, allocations: 324.3 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.7119, allocations: 19.94 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.7119, allocations: 13.38 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.712, allocations: 24.39 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.712, allocations: 4.594 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000128/0.7121, allocations: 66.59 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.7121, allocations: 11.94 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.7121, allocations: 3.906 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.7122, allocations: 5.875 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.7123, allocations: 19.97 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.7123, allocations: 1.375 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.319e-05/0.7124, allocations: 16 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.7124, allocations: 10.48 kB / 1.1 GB, free: 108 kB / 0.698 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 (6): * Single equations (assignments): 6 * 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 6.256e-05/0.7125, allocations: 105 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.7125, allocations: 7.906 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.7126, allocations: 4.375 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7126, allocations: 0 / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7126, allocations: 3.906 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7126, allocations: 1.125 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.7128, allocations: 170.2 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7128, allocations: 4 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.7129, allocations: 19.98 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.7129, allocations: 2.062 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.7129, allocations: 3.984 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7129, allocations: 0 / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7129, allocations: 3.906 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001541/0.7131, allocations: 171.5 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002409/0.7133, allocations: 0.5453 MB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.7134, allocations: 83.27 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.7134, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.7135, allocations: 18.11 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.7136, allocations: 11.98 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.7136, allocations: 3.984 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.301e-05/0.7137, allocations: 96.59 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007568/0.7144, allocations: 15.84 kB / 1.101 GB, free: 14.76 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001081/0.7145, allocations: 111 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.7146, allocations: 47.94 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.7147, allocations: 4 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-05/0.7147, allocations: 27.98 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.7149, allocations: 10.58 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.7152, allocations: 108.5 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.7155, allocations: 0.7114 MB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7155, allocations: 0 / 1.102 GB, free: 13.69 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Round.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1)