Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic") [: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 1.6.0+build.1/package.mo): time 0.4759/0.4759, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00117/0.00117, allocations: 183.4 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.028/1.028, allocations: 170.5 MB / 319 MB, free: 9.352 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001607/0.001607, allocations: 112.5 kB / 381 MB, free: 18.17 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/9.809e-06, allocations: 224 / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1555, allocations: 61.52 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.298/0.4535, allocations: 92.94 MB / 0.5889 GB, free: 9.445 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.4538, allocations: 66.5 kB / 0.5889 GB, free: 9.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.003175/0.457, allocations: 0.744 MB / 0.5897 GB, free: 8.676 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.4571, allocations: 5.156 kB / 0.5897 GB, free: 8.672 MB / 410.7 MB 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.0004362/0.4575, allocations: 376.2 kB / 0.59 GB, free: 8.266 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.4576, allocations: 15.97 kB / 0.59 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.4576, allocations: 6.656 kB / 0.5901 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4577, allocations: 171 kB / 0.5902 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4578, allocations: 3.984 kB / 0.5902 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.4578, allocations: 5.812 kB / 0.5902 GB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.4579, allocations: 27.91 kB / 0.5903 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.54e-05/0.458, allocations: 55.17 kB / 0.5903 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.458, allocations: 0 / 0.5903 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.458, allocations: 0 / 0.5903 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.458, allocations: 7.938 kB / 0.5903 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.4586, allocations: 313.2 kB / 0.5906 GB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.256e-05/0.4587, allocations: 42.56 kB / 0.5907 GB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.4587, allocations: 25.97 kB / 0.5907 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.4589, allocations: 105.1 kB / 0.5908 GB, free: 7.398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.459, allocations: 34.56 kB / 0.5908 GB, free: 7.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.459, allocations: 3.703 kB / 0.5908 GB, free: 7.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003083/0.4593, allocations: 81.5 kB / 0.5909 GB, free: 7.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.4593, allocations: 51.41 kB / 0.5909 GB, free: 7.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.4594, allocations: 114.6 kB / 0.5911 GB, free: 7.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.4594, allocations: 29.7 kB / 0.5911 GB, free: 7.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.4595, allocations: 88.14 kB / 0.5912 GB, free: 6.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.4595, allocations: 11.8 kB / 0.5912 GB, free: 6.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-06/0.4595, allocations: 0 / 0.5912 GB, free: 6.953 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4596, allocations: 322.3 kB / 0.5915 GB, free: 6.633 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.4597, allocations: 15.98 kB / 0.5915 GB, free: 6.617 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.221e-05/0.4597, allocations: 12 kB / 0.5915 GB, free: 6.605 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/0.4598, allocations: 23.97 kB / 0.5915 GB, free: 6.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4598, allocations: 4 kB / 0.5915 GB, free: 6.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00016/0.46, allocations: 81.58 kB / 0.5916 GB, free: 6.492 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.46, allocations: 4 kB / 0.5916 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.46, allocations: 0 / 0.5916 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.46, allocations: 3.984 kB / 0.5916 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.4602, allocations: 25.98 kB / 0.5916 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.4602, allocations: 4 kB / 0.5917 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.741e-05/0.4603, allocations: 19.98 kB / 0.5917 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.4603, allocations: 0 / 0.5917 GB, free: 6.438 MB / 410.7 MB 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 7.475e-05/0.4604, allocations: 104.9 kB / 0.5918 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.4605, allocations: 8 kB / 0.5918 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.4607, allocations: 93.55 kB / 0.5919 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4607, allocations: 0 / 0.5919 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4607, allocations: 4 kB / 0.5919 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4607, allocations: 0 / 0.5919 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.4609, allocations: 158.2 kB / 0.592 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4609, allocations: 0 / 0.592 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.461, allocations: 30.03 kB / 0.592 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.461, allocations: 2.953 kB / 0.5921 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.461, allocations: 3.938 kB / 0.5921 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.461, allocations: 3.906 kB / 0.5921 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.461, allocations: 4 kB / 0.5921 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002053/0.4613, allocations: 175.4 kB / 0.5922 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.4613, allocations: 81.02 kB / 0.5923 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.4613, allocations: 0 / 0.5923 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4615, allocations: 19.98 kB / 0.5923 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.4615, allocations: 3.984 kB / 0.5923 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.4615, allocations: 8 kB / 0.5923 GB, free: 5.668 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.927e-05/0.4616, allocations: 97.53 kB / 0.5924 GB, free: 5.574 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.4618, allocations: 19.92 kB / 0.5925 GB, free: 5.555 MB / 410.7 MB 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 0.0001363/0.4619, allocations: 99.03 kB / 0.5925 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.4621, allocations: 35.64 kB / 0.5926 GB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4621, allocations: 0 / 0.5926 GB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/0.4621, allocations: 22.05 kB / 0.5926 GB, free: 5.398 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.4623, allocations: 12 kB / 0.5926 GB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.4626, allocations: 89.28 kB / 0.5927 GB, free: 5.273 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.4629, allocations: 0.7032 MB / 0.5934 GB, free: 4.547 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4629, allocations: 0 / 0.5934 GB, free: 4.547 MB / 410.7 MB Notification: Performance of Templates: time 0.002894/0.4658, allocations: 0.7292 MB / 0.5941 GB, free: 3.844 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)