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.Max.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.Max,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.329/1.329, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009359/0.0009359, allocations: 177.3 kB / 361.1 MB, free: 7.113 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.9976/0.9976, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007544/0.0007544, allocations: 88.27 kB / 0.7325 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1725/0.1733, allocations: 121.5 MB / 0.8512 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.5879, allocations: 115.3 MB / 0.9638 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.7198, allocations: 136.7 MB / 1.097 GB, free: 3.391 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.72, allocations: 68.61 kB / 1.097 GB, free: 3.324 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.002309/0.7223, allocations: 0.8753 MB / 1.098 GB, free: 2.449 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.7224, allocations: 9.812 kB / 1.098 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.7224, allocations: 7.906 kB / 1.098 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.7225, allocations: 170.9 kB / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.7225, allocations: 4 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.7226, allocations: 3.031 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.826e-05/0.7226, allocations: 20.62 kB / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.798e-05/0.7227, allocations: 44.72 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.7227, allocations: 0 / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.7228, allocations: 0 / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.7228, allocations: 0 / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.7232, allocations: 290 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.7233, allocations: 35.22 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.7233, allocations: 12.86 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.7233, allocations: 4 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.7234, allocations: 32.64 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7234, allocations: 0.75 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001474/0.7235, allocations: 50.2 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.7236, allocations: 56.41 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.7236, allocations: 97 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.7237, allocations: 29.7 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.7237, allocations: 88.12 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.7237, allocations: 7.812 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.7237, allocations: 0 / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.7238, allocations: 315.9 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.7239, allocations: 15.94 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.7239, allocations: 4 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.7239, allocations: 12.69 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7239, allocations: 0 / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.121e-05/0.724, allocations: 53.61 kB / 1.1 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.724, allocations: 8 kB / 1.1 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.7241, allocations: 0 / 1.1 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.7241, allocations: 0 / 1.1 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.7242, allocations: 23.97 kB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.7242, allocations: 9.188 kB / 1.1 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.968e-05/0.7243, allocations: 18.56 kB / 1.1 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.7243, allocations: 4 kB / 1.1 GB, free: 0.9219 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.695e-05/0.7244, allocations: 103.6 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.7244, allocations: 7.906 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.7246, allocations: 69.08 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.7246, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.7246, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.7246, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.7247, allocations: 150.1 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7247, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.7248, allocations: 27.97 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7249, allocations: 0 / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.7249, allocations: 0 / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.7249, allocations: 4 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.7249, allocations: 0 / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001141/0.725, allocations: 147.4 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002238/0.7252, allocations: 0.5155 MB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.7253, allocations: 85.62 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.7253, allocations: 1.75 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.7254, allocations: 19.98 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.7255, allocations: 7.984 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.7255, allocations: 6.344 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.464e-05/0.7255, allocations: 82.25 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007267/0.7263, allocations: 11.94 kB / 1.101 GB, free: 15.6 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 0.0001108/0.7264, allocations: 99.03 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.275e-05/0.7265, allocations: 35.92 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.7265, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.7265, allocations: 12.66 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.7267, allocations: 11.91 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002118/0.7269, allocations: 75.16 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.7272, allocations: 0.6993 MB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.7272, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)