Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.403/1.403, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.00102/0.00102, allocations: 177.3 kB / 366.3 MB, free: 1.953 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.084/1.084, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0008828/0.0008827, allocations: 95.75 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1892/0.1901, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.6337, allocations: 116.3 MB / 0.9727 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.768, allocations: 137.7 MB / 1.107 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.7683, allocations: 71.89 kB / 1.107 GB, free: 10.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00232/0.7706, allocations: 0.8754 MB / 1.108 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.7706, allocations: 8 kB / 1.108 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.7707, allocations: 11.91 kB / 1.108 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.926e-05/0.7708, allocations: 163 kB / 1.108 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.7708, allocations: 4 kB / 1.108 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.7708, allocations: 0.8438 kB / 1.108 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.208e-05/0.7709, allocations: 16 kB / 1.108 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.466e-05/0.771, allocations: 45.69 kB / 1.108 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.771, allocations: 3.938 kB / 1.108 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.771, allocations: 0 / 1.108 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.771, allocations: 0 / 1.108 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.7715, allocations: 289.3 kB / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.963e-05/0.7715, allocations: 34.56 kB / 1.109 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.7716, allocations: 8.859 kB / 1.109 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.7716, allocations: 8.844 kB / 1.109 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.7716, allocations: 30.56 kB / 1.109 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.7716, allocations: 4 kB / 1.109 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001394/0.7718, allocations: 53.62 kB / 1.109 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.7718, allocations: 51.41 kB / 1.109 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.752e-05/0.7719, allocations: 99.5 kB / 1.109 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.7719, allocations: 25.7 kB / 1.109 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.7719, allocations: 88.14 kB / 1.109 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.7719, allocations: 11.8 kB / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.772, allocations: 1.781 kB / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.772, allocations: 318.8 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.7721, allocations: 8 kB / 1.109 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.7721, allocations: 8 kB / 1.109 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.7721, allocations: 8.141 kB / 1.109 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7721, allocations: 0 / 1.109 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.898e-05/0.7722, allocations: 53.58 kB / 1.109 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.7722, allocations: 11.94 kB / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.7722, allocations: 0 / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.7723, allocations: 0 / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.7724, allocations: 31.97 kB / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.7724, allocations: 3.938 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.433e-05/0.7725, allocations: 19.98 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.7725, allocations: 4 kB / 1.109 GB, free: 8.223 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 (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.26e-05/0.7726, allocations: 101 kB / 1.11 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.7726, allocations: 3.906 kB / 1.11 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.7728, allocations: 61.67 kB / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.7728, allocations: 0 / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7728, allocations: 0 / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.7728, allocations: 4.562 kB / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.7729, allocations: 150.1 kB / 1.11 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7729, allocations: 0 / 1.11 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.7731, allocations: 23.92 kB / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7731, allocations: 0 / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.7731, allocations: 0 / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.7731, allocations: 8.656 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7731, allocations: 3.984 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001077/0.7732, allocations: 143.5 kB / 1.11 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002102/0.7734, allocations: 0.5116 MB / 1.11 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.7735, allocations: 93 kB / 1.11 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.7735, allocations: 0 / 1.11 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.7736, allocations: 19.92 kB / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.7737, allocations: 8.641 kB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.7737, allocations: 0 / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.838e-05/0.7737, allocations: 87.28 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007958/0.7745, allocations: 11.94 kB / 1.111 GB, free: 6.891 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.234e-05/0.7746, allocations: 95.25 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.069e-05/0.7747, allocations: 24 kB / 1.111 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.7747, allocations: 0 / 1.111 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.7747, allocations: 17.02 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.7749, allocations: 7.906 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.7752, allocations: 86.28 kB / 1.111 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.7754, allocations: 0.6993 MB / 1.112 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7754, allocations: 0 / 1.112 GB, free: 5.914 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)