Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") [: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.37/1.37, allocations: 289.8 MB / 297.1 MB, free: 9.098 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.0009008/0.0009008, allocations: 189.2 kB / 366.3 MB, free: 11.35 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.077/1.077, allocations: 205.1 MB / 0.6256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008296/0.0008296, allocations: 92.72 kB / 0.7396 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.385e-06/8.415e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1734, allocations: 116.3 MB / 0.9726 GB, free: 31.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4749/0.6484, allocations: 137.7 MB / 1.107 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.6486, allocations: 69.02 kB / 1.107 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.001425/0.6501, allocations: 326.7 kB / 1.107 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.6501, allocations: 1.281 kB / 1.107 GB, free: 16.34 MB / 0.6823 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.0002757/0.6504, allocations: 332.2 kB / 1.108 GB, free: 16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.6504, allocations: 8.359 kB / 1.108 GB, free: 16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.6505, allocations: 5.219 kB / 1.108 GB, free: 16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.457e-05/0.6506, allocations: 167.6 kB / 1.108 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.6506, allocations: 0 / 1.108 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.6506, allocations: 1.188 kB / 1.108 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.467e-05/0.6507, allocations: 7.016 kB / 1.108 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.394e-05/0.6507, allocations: 40.75 kB / 1.108 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6507, allocations: 1.344 kB / 1.108 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.6508, allocations: 0 / 1.108 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6508, allocations: 7.844 kB / 1.108 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.651, allocations: 228.8 kB / 1.108 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/0.6511, allocations: 25.19 kB / 1.108 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.6511, allocations: 16.16 kB / 1.108 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.6511, allocations: 3.422 kB / 1.108 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.6512, allocations: 36.14 kB / 1.108 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.6512, allocations: 0 / 1.108 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.00014/0.6513, allocations: 42.78 kB / 1.108 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.728e-05/0.6513, allocations: 54.97 kB / 1.108 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.6514, allocations: 90.08 kB / 1.108 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.6514, allocations: 27.02 kB / 1.108 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.782e-05/0.6514, allocations: 85.25 kB / 1.109 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.6514, allocations: 9.469 kB / 1.109 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.6515, allocations: 0 / 1.109 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6516, allocations: 312.9 kB / 1.109 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.6516, allocations: 5.75 kB / 1.109 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.6516, allocations: 2.531 kB / 1.109 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.758e-05/0.6516, allocations: 8.297 kB / 1.109 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.6516, allocations: 0 / 1.109 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.032e-05/0.6517, allocations: 44.3 kB / 1.109 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6517, allocations: 5.094 kB / 1.109 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.6517, allocations: 2.312 kB / 1.109 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.6518, allocations: 1.312 kB / 1.109 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.6519, allocations: 23.64 kB / 1.109 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6519, allocations: 0.6562 kB / 1.109 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.6519, allocations: 13.05 kB / 1.109 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.652, allocations: 1.312 kB / 1.109 GB, free: 14.77 MB / 0.6823 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 3.989e-05/0.652, allocations: 103 kB / 1.109 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.652, allocations: 5.219 kB / 1.109 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.6521, allocations: 4.109 kB / 1.109 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6521, allocations: 1.312 kB / 1.109 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6521, allocations: 0 / 1.109 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.6521, allocations: 0.5625 kB / 1.109 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.42e-05/0.6522, allocations: 143.2 kB / 1.109 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.6522, allocations: 0 / 1.109 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.6523, allocations: 12.73 kB / 1.109 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6523, allocations: 1.188 kB / 1.109 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.6523, allocations: 0.6562 kB / 1.109 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.6523, allocations: 1.312 kB / 1.109 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.6523, allocations: 0 / 1.109 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.468e-05/0.6524, allocations: 141.4 kB / 1.109 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.6524, allocations: 79.17 kB / 1.109 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.6524, allocations: 3.938 kB / 1.109 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.6525, allocations: 13.39 kB / 1.109 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.6526, allocations: 5.906 kB / 1.109 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.6526, allocations: 5.375 kB / 1.109 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.763e-05/0.6526, allocations: 78.66 kB / 1.11 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002/0.6528, allocations: 4.422 kB / 1.11 GB, free: 14.17 MB / 0.6823 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.0001172/0.6529, allocations: 99.77 kB / 1.11 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.549e-05/0.653, allocations: 11.72 kB / 1.11 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.653, allocations: 1.375 kB / 1.11 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.653, allocations: 7.844 kB / 1.11 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.6532, allocations: 13.64 kB / 1.11 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.6534, allocations: 60.38 kB / 1.11 GB, free: 14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.6537, allocations: 0.6871 MB / 1.11 GB, free: 29.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/0.6537, allocations: 0 / 1.11 GB, free: 29.3 MB / 0.698 GB Notification: Performance of Templates: time 0.001886/0.6556, allocations: 420.1 kB / 1.111 GB, free: 29.25 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)