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.Average.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.Average,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.314/1.314, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009156/0.0009156, allocations: 179.1 kB / 361.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.994/0.994, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007382/0.0007382, allocations: 89.36 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1763/0.1771, allocations: 121.5 MB / 0.8512 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.5808, allocations: 115.3 MB / 0.9638 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.7106, allocations: 136.7 MB / 1.097 GB, free: 3.32 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.7108, allocations: 71.95 kB / 1.097 GB, free: 3.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002293/0.7131, allocations: 0.8714 MB / 1.098 GB, free: 2.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.7132, allocations: 9.844 kB / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.7132, allocations: 7.906 kB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.7133, allocations: 172.9 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.7133, allocations: 4 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.7134, allocations: 0.7812 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.092e-05/0.7134, allocations: 18.06 kB / 1.098 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.666e-05/0.7135, allocations: 42.38 kB / 1.098 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.7135, allocations: 4.688 kB / 1.098 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.7135, allocations: 0 / 1.098 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.7136, allocations: 1.219 kB / 1.098 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.714, allocations: 291.1 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.816e-05/0.7141, allocations: 34.52 kB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.7141, allocations: 12.86 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.7141, allocations: 2.078 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.7141, allocations: 36.02 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7141, allocations: 0 / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001295/0.7143, allocations: 53.69 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.7143, allocations: 51.41 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.7144, allocations: 103.4 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.7144, allocations: 25.7 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.7144, allocations: 84.12 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.7144, allocations: 15.81 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.7144, allocations: 0 / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.7145, allocations: 311.9 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.7146, allocations: 11.94 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.7146, allocations: 8 kB / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.882e-05/0.7146, allocations: 7.984 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.7146, allocations: 4 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.726e-05/0.7147, allocations: 53.61 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.7147, allocations: 4 kB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.7147, allocations: 0 / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.7147, allocations: 0 / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.7149, allocations: 37.73 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.7149, allocations: 0 / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.715, allocations: 17.95 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.715, allocations: 0 / 1.1 GB, free: 0.8516 MB / 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 (3): * Single equations (assignments): 3 * 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 5.224e-05/0.7151, allocations: 105 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.7151, allocations: 7.906 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.7151, allocations: 11.98 kB / 1.1 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7151, allocations: 0.5156 kB / 1.1 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.7151, allocations: 3.938 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.7151, allocations: 4 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.7152, allocations: 142.1 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.7153, allocations: 0 / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.7154, allocations: 29.48 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7154, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.7154, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.7154, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7154, allocations: 0.7031 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001103/0.7155, allocations: 151.5 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001915/0.7157, allocations: 0.52 MB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.7158, allocations: 81.02 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.7158, allocations: 3.984 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.7159, allocations: 19.98 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.7159, allocations: 4 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.7159, allocations: 4.094 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.26e-05/0.716, allocations: 87.27 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007262/0.7167, allocations: 11.94 kB / 1.101 GB, free: 15.58 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 (3): * Single equations (assignments): 3 * 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.558e-05/0.7168, allocations: 103 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.7169, allocations: 24.7 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.7169, allocations: 0 / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.7169, allocations: 15.94 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.7171, allocations: 11.89 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001923/0.7173, allocations: 71.19 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.7176, allocations: 0.6993 MB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7176, allocations: 4 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)