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.Min.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.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.247/1.247, allocations: 249.4 MB / 256.7 MB, free: 6.906 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.001017/0.001017, allocations: 184.5 kB / 316 MB, free: 3.535 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.196/1.196, allocations: 205.2 MB / 0.5667 GB, free: 15.72 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.0008484/0.0008486, allocations: 88.83 kB / 0.671 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3314/0.3323, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.4959, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4701/0.966, allocations: 132 MB / 1.014 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.9663, allocations: 70.56 kB / 1.014 GB, free: 6.512 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.004662/0.971, allocations: 1.54 MB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.971, allocations: 8 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.9711, allocations: 11.81 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.9712, allocations: 176.9 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.9712, allocations: 4 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.9713, allocations: 11.91 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001101/0.9714, allocations: 44.05 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.9715, allocations: 68.09 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.9715, allocations: 0 / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.9715, allocations: 4 kB / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.9715, allocations: 0 / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.972, allocations: 318.1 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.9724, allocations: 84.84 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.9724, allocations: 28.86 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.9724, allocations: 4.141 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.9725, allocations: 34.56 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.9725, allocations: 4 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002001/0.9727, allocations: 85.64 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.9727, allocations: 55.41 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.879e-05/0.9728, allocations: 111.7 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.9728, allocations: 26.45 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.9728, allocations: 91.05 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.9729, allocations: 19.36 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-06/0.9729, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.973, allocations: 322.8 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.973, allocations: 26.61 kB / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.9731, allocations: 14.88 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.9731, allocations: 22.36 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.9731, allocations: 3.938 kB / 1.017 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001363/0.9733, allocations: 83.41 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/0.9733, allocations: 4 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.9733, allocations: 0 / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.9733, allocations: 0 / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.9735, allocations: 39.09 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.9735, allocations: 4.688 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.9736, allocations: 23.98 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.9737, allocations: 0 / 1.017 GB, free: 3.418 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 (min1.u1,min1.u2,min1.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.868e-05/0.9737, allocations: 101 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.9738, allocations: 7.906 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.974, allocations: 113.5 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.974, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.974, allocations: 4 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.974, allocations: 0 / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.9741, allocations: 170.5 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.9741, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.9743, allocations: 31.97 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9743, allocations: 7.906 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.9744, allocations: 3.984 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.9744, allocations: 4.391 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9744, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001802/0.9746, allocations: 190.8 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002293/0.9748, allocations: 0.5528 MB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.9748, allocations: 81.02 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.9749, allocations: 0 / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.975, allocations: 23.97 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.9751, allocations: 15.72 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.9751, allocations: 10.88 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.83e-05/0.9752, allocations: 90.75 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007622/0.9759, allocations: 18.98 kB / 1.018 GB, free: 1.988 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 (min1.u1,min1.u2,min1.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.0001216/0.9761, allocations: 111.3 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.9762, allocations: 56.67 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9762, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.9763, allocations: 41.8 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.9765, allocations: 11.56 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.9768, allocations: 109.5 kB / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.9771, allocations: 0.7183 MB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.9771, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)