Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_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 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 185.2 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.2 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00093/0.0009295, allocations: 93.45 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3292/0.3302, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.4955, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.459/0.9545, allocations: 132 MB / 1.014 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.9547, allocations: 71.02 kB / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.004651/0.9594, allocations: 1.544 MB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.9594, allocations: 8 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.9594, allocations: 11.81 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.9596, allocations: 167 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.9596, allocations: 4 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.9596, allocations: 7.906 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001172/0.9597, allocations: 48.11 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.9599, allocations: 78.66 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.9599, allocations: 0 / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.9599, allocations: 0 / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9599, allocations: 0 / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.9604, allocations: 309.1 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.9608, allocations: 98.47 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.9609, allocations: 23.69 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.9609, allocations: 7.375 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.9609, allocations: 30.56 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.9609, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002357/0.9612, allocations: 87.84 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.9612, allocations: 55.41 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.9613, allocations: 111.6 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.9613, allocations: 33.58 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.9614, allocations: 91.11 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.9614, allocations: 23.36 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/0.9615, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9616, allocations: 318 kB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.9616, allocations: 23.36 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.9617, allocations: 30.19 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.453e-05/0.9617, allocations: 15.61 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9617, allocations: 0 / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001426/0.9619, allocations: 83.59 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.9619, allocations: 4 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9619, allocations: 0 / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.9619, allocations: 4 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.9621, allocations: 31.97 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.9621, allocations: 3.984 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.9623, allocations: 19.98 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.9623, allocations: 7.938 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.975e-05/0.9624, allocations: 105 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.9624, allocations: 7.891 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.9626, allocations: 106.3 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9626, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.9626, allocations: 4 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.9626, allocations: 0 / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.9628, allocations: 176.4 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9628, allocations: 0 / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.963, allocations: 31.41 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.963, allocations: 7.844 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.963, allocations: 7.984 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.963, allocations: 4 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.963, allocations: 0 / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001795/0.9632, allocations: 179.2 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002818/0.9635, allocations: 0.5504 MB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.9636, allocations: 81.02 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.9636, allocations: 8 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.9638, allocations: 19.97 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.9638, allocations: 18.78 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.9639, allocations: 7.938 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.152e-05/0.9639, allocations: 96.52 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008444/0.9648, allocations: 16 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001665/0.9649, allocations: 110.6 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.9651, allocations: 50.48 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9651, allocations: 0 / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/0.9652, allocations: 47.31 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.9654, allocations: 11.58 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.9657, allocations: 115 kB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.966, allocations: 0.711 MB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9661, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)