Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6833/0.6833, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 177.3 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.1 MB / 399.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001096, allocations: 92.88 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.584e-06, allocations: 0 / 0.546 GB, free: 42.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1836, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5202/0.7039, allocations: 101.8 MB / 0.7203 GB, free: 10.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.7042, allocations: 79.94 kB / 0.7204 GB, free: 10.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003144/0.7074, allocations: 0.7864 MB / 0.7211 GB, free: 9.727 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.7074, allocations: 4 kB / 0.7211 GB, free: 9.723 MB / 490.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.0005756/0.708, allocations: 378.3 kB / 0.7215 GB, free: 9.309 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.708, allocations: 8.031 kB / 0.7215 GB, free: 9.301 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.7081, allocations: 11.91 kB / 0.7215 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.7083, allocations: 170.9 kB / 0.7217 GB, free: 9.082 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.7083, allocations: 0 / 0.7217 GB, free: 9.082 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.7083, allocations: 0 / 0.7217 GB, free: 9.082 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001358/0.7084, allocations: 31.98 kB / 0.7217 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.7086, allocations: 53.59 kB / 0.7218 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7086, allocations: 0 / 0.7218 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.7086, allocations: 7.984 kB / 0.7218 GB, free: 8.984 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.7086, allocations: 4 kB / 0.7218 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.7092, allocations: 301.3 kB / 0.7221 GB, free: 8.648 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.7094, allocations: 46.5 kB / 0.7221 GB, free: 8.594 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.7094, allocations: 28.94 kB / 0.7221 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.7097, allocations: 105.1 kB / 0.7222 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.7097, allocations: 30.56 kB / 0.7223 GB, free: 8.402 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.7097, allocations: 0.6562 kB / 0.7223 GB, free: 8.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003133/0.71, allocations: 77.58 kB / 0.7223 GB, free: 8.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.7101, allocations: 59.39 kB / 0.7224 GB, free: 8.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.7102, allocations: 114.7 kB / 0.7225 GB, free: 8.133 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.7102, allocations: 25.7 kB / 0.7225 GB, free: 8.102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.7103, allocations: 84.14 kB / 0.7226 GB, free: 8.016 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.7103, allocations: 10.03 kB / 0.7226 GB, free: 8.008 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.7103, allocations: 0 / 0.7226 GB, free: 8.008 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7105, allocations: 326.7 kB / 0.7229 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.7105, allocations: 12 kB / 0.7229 GB, free: 7.668 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.7106, allocations: 19.98 kB / 0.723 GB, free: 7.648 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.326e-05/0.7106, allocations: 23.98 kB / 0.723 GB, free: 7.625 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7107, allocations: 0 / 0.723 GB, free: 7.625 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001815/0.7108, allocations: 77.75 kB / 0.7231 GB, free: 7.543 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7109, allocations: 8 kB / 0.7231 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7109, allocations: 0 / 0.7231 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.7109, allocations: 0.75 kB / 0.7231 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.7111, allocations: 31.97 kB / 0.7231 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.7111, allocations: 0 / 0.7231 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.664e-05/0.7112, allocations: 23.97 kB / 0.7231 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.7112, allocations: 0 / 0.7231 GB, free: 7.48 MB / 490.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.28e-05/0.7113, allocations: 105 kB / 0.7232 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.7113, allocations: 11.84 kB / 0.7232 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.7116, allocations: 93.62 kB / 0.7233 GB, free: 7.258 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.7116, allocations: 7.844 kB / 0.7233 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7116, allocations: 0 / 0.7233 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7116, allocations: 3.938 kB / 0.7233 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.7118, allocations: 154.2 kB / 0.7235 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7118, allocations: 7.312 kB / 0.7235 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.7119, allocations: 23.98 kB / 0.7235 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.7119, allocations: 0 / 0.7235 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.7119, allocations: 0 / 0.7235 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7119, allocations: 0 / 0.7235 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7119, allocations: 0 / 0.7235 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002056/0.7122, allocations: 187.3 kB / 0.7237 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.7122, allocations: 81.11 kB / 0.7238 GB, free: 6.734 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.7122, allocations: 3.906 kB / 0.7238 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.7124, allocations: 23.97 kB / 0.7238 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.7124, allocations: 4 kB / 0.7238 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.7124, allocations: 4 kB / 0.7238 GB, free: 6.699 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.262e-05/0.7125, allocations: 91.27 kB / 0.7239 GB, free: 6.609 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.7128, allocations: 19.94 kB / 0.7239 GB, free: 6.59 MB / 490.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.0002039/0.713, allocations: 99.73 kB / 0.724 GB, free: 6.484 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.7131, allocations: 35.98 kB / 0.724 GB, free: 6.449 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7131, allocations: 0 / 0.724 GB, free: 6.449 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.7132, allocations: 23.94 kB / 0.7241 GB, free: 6.426 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.7134, allocations: 4 kB / 0.7241 GB, free: 6.422 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.7137, allocations: 95.8 kB / 0.7242 GB, free: 6.301 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/0.7141, allocations: 0.6993 MB / 0.7248 GB, free: 5.578 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7141, allocations: 0 / 0.7248 GB, free: 5.578 MB / 490.7 MB Notification: Performance of Templates: time 0.002859/0.717, allocations: 0.7442 MB / 0.7256 GB, free: 4.844 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1)