Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.389/2.389, allocations: 253.1 MB / 260.4 MB, free: 7.531 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001693/0.001692, allocations: 169.3 kB / 319.6 MB, free: 3.34 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 0.5704 GB, free: 15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001851/0.001851, allocations: 94.08 kB / 0.6746 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.452e-05/1.473e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2623, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7125/0.9749, allocations: 131.8 MB / 1.017 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.9753, allocations: 62.34 kB / 1.017 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.008934/0.9842, allocations: 1.158 MB / 1.018 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.9843, allocations: 4 kB / 1.018 GB, free: 5.555 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.001066/0.9854, allocations: 394.6 kB / 1.018 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.162e-05/0.9855, allocations: 12.02 kB / 1.018 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.9856, allocations: 11.81 kB / 1.018 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.9858, allocations: 171 kB / 1.019 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.9859, allocations: 4 kB / 1.019 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.9859, allocations: 3.906 kB / 1.019 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003094/0.9862, allocations: 53.17 kB / 1.019 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.9865, allocations: 73.28 kB / 1.019 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.9866, allocations: 0 / 1.019 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.9866, allocations: 4 kB / 1.019 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.9866, allocations: 4 kB / 1.019 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/0.9875, allocations: 311.2 kB / 1.019 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/0.9884, allocations: 99.2 kB / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/0.9885, allocations: 26.92 kB / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.9885, allocations: 4.141 kB / 1.019 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.9886, allocations: 34.56 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.9886, allocations: 0 / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003566/0.989, allocations: 81.89 kB / 1.019 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.989, allocations: 51.41 kB / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.9891, allocations: 112.4 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.9892, allocations: 30.55 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.9892, allocations: 87.98 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.9893, allocations: 22.73 kB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.9893, allocations: 0 / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.9895, allocations: 318.8 kB / 1.02 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.93e-05/0.9895, allocations: 19.3 kB / 1.02 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.9896, allocations: 20.94 kB / 1.02 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.616e-05/0.9897, allocations: 22.72 kB / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9897, allocations: 0 / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002579/0.99, allocations: 89.67 kB / 1.02 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.99, allocations: 7.906 kB / 1.02 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9901, allocations: 0 / 1.02 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.9901, allocations: 0 / 1.02 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.9905, allocations: 31.97 kB / 1.02 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.9905, allocations: 7.938 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.9908, allocations: 19.97 kB / 1.02 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.9908, allocations: 4 kB / 1.02 GB, free: 3.43 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 0.0001323/0.9909, allocations: 104.9 kB / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.991, allocations: 11.91 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.9914, allocations: 106 kB / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.9914, allocations: 0 / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.9914, allocations: 0 / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.9914, allocations: 0 / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.9917, allocations: 167.9 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.9917, allocations: 0 / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.9921, allocations: 35.97 kB / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.9921, allocations: 0 / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.9921, allocations: 11.83 kB / 1.02 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.9921, allocations: 3.312 kB / 1.02 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.9921, allocations: 4 kB / 1.02 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003801/0.9925, allocations: 184.3 kB / 1.021 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.9926, allocations: 84.58 kB / 1.021 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.9927, allocations: 4 kB / 1.021 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.993, allocations: 19.98 kB / 1.021 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.9931, allocations: 15.78 kB / 1.021 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.9931, allocations: 7.984 kB / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.028e-05/0.9932, allocations: 90.28 kB / 1.021 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003558/0.9936, allocations: 20.06 kB / 1.021 GB, free: 2.555 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.0001835/0.9938, allocations: 111.1 kB / 1.021 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.994, allocations: 53.22 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.994, allocations: 0 / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.9942, allocations: 42.92 kB / 1.021 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.9945, allocations: 2.438 kB / 1.021 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.9951, allocations: 117 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/0.9955, allocations: 0.7191 MB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.9956, allocations: 0 / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.0055/1.001, allocations: 1.387 MB / 1.023 GB, free: 136 kB / 0.6355 GB