Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.196/2.196, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.00167/0.00167, allocations: 185.2 kB / 360.3 MB, free: 7.52 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.676/1.676, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001218/0.001217, allocations: 89.8 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2487/0.25, allocations: 121.4 MB / 0.8502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.8111, allocations: 115.2 MB / 0.9628 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2083/1.019, allocations: 136.6 MB / 1.096 GB, free: 4.258 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/1.02, allocations: 68.61 kB / 1.096 GB, free: 4.191 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002664/1.022, allocations: 0.6703 MB / 1.097 GB, free: 3.508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.023, allocations: 12.44 kB / 1.097 GB, free: 3.496 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/1.023, allocations: 10.55 kB / 1.097 GB, free: 3.488 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.023, allocations: 159.1 kB / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/1.023, allocations: 2.781 kB / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/1.023, allocations: 0.7031 kB / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.432e-05/1.023, allocations: 12 kB / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.966e-05/1.023, allocations: 40.69 kB / 1.097 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.023, allocations: 0 / 1.097 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/1.023, allocations: 4.516 kB / 1.097 GB, free: 3.234 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/1.023, allocations: 0 / 1.097 GB, free: 3.234 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/1.024, allocations: 249 kB / 1.097 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/1.024, allocations: 32.11 kB / 1.097 GB, free: 2.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/1.024, allocations: 8.922 kB / 1.097 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/1.024, allocations: 0.5312 kB / 1.097 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.024, allocations: 36.05 kB / 1.097 GB, free: 2.863 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.365e-06/1.024, allocations: 0.5938 kB / 1.097 GB, free: 2.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/1.024, allocations: 40.44 kB / 1.097 GB, free: 2.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/1.024, allocations: 51.97 kB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/1.024, allocations: 97.48 kB / 1.098 GB, free: 2.656 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/1.024, allocations: 25.7 kB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/1.024, allocations: 88.77 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/1.024, allocations: 4.469 kB / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/1.024, allocations: 0.5 kB / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.024, allocations: 314.9 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/1.024, allocations: 8 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.069e-05/1.024, allocations: 4 kB / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.457e-05/1.024, allocations: 4 kB / 1.098 GB, free: 2.199 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.024, allocations: 0 / 1.098 GB, free: 2.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000107/1.025, allocations: 45.59 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/1.025, allocations: 4 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.76e-06/1.025, allocations: 0 / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/1.025, allocations: 0 / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/1.025, allocations: 24.08 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/1.025, allocations: 0 / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/1.025, allocations: 4 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/1.025, allocations: 8.828 kB / 1.098 GB, free: 2.109 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 (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 9.039e-05/1.025, allocations: 116.7 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/1.025, allocations: 0 / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/1.025, allocations: 50.28 kB / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.025, allocations: 0 / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.025, allocations: 0 / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.025, allocations: 4 kB / 1.098 GB, free: 1.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/1.025, allocations: 138.1 kB / 1.098 GB, free: 1.758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.025, allocations: 1.625 kB / 1.098 GB, free: 1.758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/1.026, allocations: 16.02 kB / 1.098 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.026, allocations: 1.594 kB / 1.098 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/1.026, allocations: 0.5156 kB / 1.098 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.026, allocations: 0 / 1.098 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.026, allocations: 0 / 1.098 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001501/1.026, allocations: 143.4 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003512/1.026, allocations: 0.5077 MB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/1.026, allocations: 81.09 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/1.026, allocations: 0 / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/1.026, allocations: 8 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/1.026, allocations: 8.859 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/1.026, allocations: 1.812 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.805e-05/1.026, allocations: 79.28 kB / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001081/1.028, allocations: 7.906 kB / 1.099 GB, free: 0.8594 MB / 0.698 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 0.0001322/1.028, allocations: 95.25 kB / 1.099 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.195e-05/1.028, allocations: 18.53 kB / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.028, allocations: 0 / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/1.028, allocations: 12.06 kB / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/1.028, allocations: 8.703 kB / 1.099 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/1.028, allocations: 59.98 kB / 1.099 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/1.029, allocations: 0.688 MB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of SimCode: time 6.72e-07/1.029, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1)