Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7568/0.7568, allocations: 141.8 MB / 149.1 MB, free: 2.609 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 183.3 kB / 181.9 MB, free: 3.539 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.3 MB / 436 MB, free: 3.594 MB / 338.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009897/0.0009895, allocations: 104.7 kB / 0.507 GB, free: 1.664 MB / 386.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 273.5 kB / 0.5884 GB, free: 14.26 MB / 482.9 MB Notification: Performance of FrontEnd - loaded program: time 8.365e-06/8.395e-06, allocations: 0 / 0.6759 GB, free: 138.3 MB / 498.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 82.78 MB / 0.7567 GB, free: 55.93 MB / 498.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.6086, allocations: 107.9 MB / 0.8621 GB, free: 2.453 MB / 498.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.6088, allocations: 69.33 kB / 0.8621 GB, free: 2.418 MB / 498.9 MB Notification: Performance of FrontEnd: time 0.002733/0.6116, allocations: 0.7906 MB / 0.8629 GB, free: 1.734 MB / 498.9 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.6116, allocations: 0 / 0.8629 GB, free: 1.734 MB / 498.9 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.0003526/0.6119, allocations: 373.6 kB / 0.8632 GB, free: 1.328 MB / 498.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.612, allocations: 13.02 kB / 0.8633 GB, free: 1.316 MB / 498.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.612, allocations: 4 kB / 0.8633 GB, free: 1.312 MB / 498.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.822e-05/0.6121, allocations: 171 kB / 0.8634 GB, free: 1.105 MB / 498.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.6121, allocations: 1.094 kB / 0.8634 GB, free: 1.105 MB / 498.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.6121, allocations: 4 kB / 0.8634 GB, free: 1.102 MB / 498.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001084/0.6123, allocations: 34.27 kB / 0.8635 GB, free: 1.078 MB / 498.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.645e-05/0.6124, allocations: 60.62 kB / 0.8635 GB, free: 1.02 MB / 498.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6124, allocations: 0 / 0.8635 GB, free: 1.02 MB / 498.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.6124, allocations: 0 / 0.8635 GB, free: 1.02 MB / 498.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6124, allocations: 0 / 0.8635 GB, free: 1.02 MB / 498.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.6129, allocations: 309.5 kB / 0.8638 GB, free: 0.6992 MB / 498.9 MB Notification: Performance of preOpt comSubExp (simulation): time 7.577e-05/0.613, allocations: 48.62 kB / 0.8639 GB, free: 0.6484 MB / 498.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.613, allocations: 19.98 kB / 0.8639 GB, free: 0.6328 MB / 498.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.6132, allocations: 106.9 kB / 0.864 GB, free: 0.5117 MB / 498.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.6132, allocations: 35.75 kB / 0.864 GB, free: 480 kB / 498.9 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.6132, allocations: 7.938 kB / 0.864 GB, free: 472 kB / 498.9 MB Notification: Performance of matching and sorting (n=3): time 0.0002237/0.6135, allocations: 72.45 kB / 0.8641 GB, free: 404 kB / 498.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.458e-05/0.6135, allocations: 51.41 kB / 0.8641 GB, free: 340 kB / 498.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/0.6136, allocations: 114.5 kB / 0.8643 GB, free: 228 kB / 498.9 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.6136, allocations: 29.7 kB / 0.8643 GB, free: 192 kB / 498.9 MB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.6136, allocations: 88.06 kB / 0.8644 GB, free: 104 kB / 498.9 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.6136, allocations: 7.812 kB / 0.8644 GB, free: 96 kB / 498.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.6136, allocations: 4 kB / 0.8644 GB, free: 92 kB / 498.9 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6138, allocations: 318.6 kB / 0.8647 GB, free: 15.77 MB / 0.5028 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.6138, allocations: 15.19 kB / 0.8647 GB, free: 15.76 MB / 0.5028 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.6139, allocations: 23.3 kB / 0.8647 GB, free: 15.75 MB / 0.5028 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.667e-05/0.6139, allocations: 19.55 kB / 0.8647 GB, free: 15.73 MB / 0.5028 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6139, allocations: 0 / 0.8647 GB, free: 15.73 MB / 0.5028 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001589/0.6141, allocations: 84.75 kB / 0.8648 GB, free: 15.65 MB / 0.5028 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.6141, allocations: 7.938 kB / 0.8648 GB, free: 15.64 MB / 0.5028 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6141, allocations: 0 / 0.8648 GB, free: 15.64 MB / 0.5028 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.6141, allocations: 192 / 0.8648 GB, free: 15.64 MB / 0.5028 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.6143, allocations: 27.98 kB / 0.8648 GB, free: 15.62 MB / 0.5028 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.6143, allocations: 0 / 0.8648 GB, free: 15.62 MB / 0.5028 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.542e-05/0.6144, allocations: 23.97 kB / 0.8649 GB, free: 15.59 MB / 0.5028 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.6144, allocations: 0 / 0.8649 GB, free: 15.59 MB / 0.5028 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 (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 6.109e-05/0.6145, allocations: 112.3 kB / 0.865 GB, free: 15.48 MB / 0.5028 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.6145, allocations: 3.984 kB / 0.865 GB, free: 15.48 MB / 0.5028 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.6148, allocations: 99.3 kB / 0.8651 GB, free: 15.38 MB / 0.5028 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6148, allocations: 4 kB / 0.8651 GB, free: 15.38 MB / 0.5028 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6148, allocations: 3.438 kB / 0.8651 GB, free: 15.38 MB / 0.5028 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6148, allocations: 3.984 kB / 0.8651 GB, free: 15.38 MB / 0.5028 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.615, allocations: 156.9 kB / 0.8652 GB, free: 15.19 MB / 0.5028 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.615, allocations: 3.938 kB / 0.8652 GB, free: 15.19 MB / 0.5028 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.6151, allocations: 19.98 kB / 0.8653 GB, free: 15.17 MB / 0.5028 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6151, allocations: 0 / 0.8653 GB, free: 15.17 MB / 0.5028 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.6151, allocations: 4 kB / 0.8653 GB, free: 15.16 MB / 0.5028 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.6151, allocations: 7.906 kB / 0.8653 GB, free: 15.16 MB / 0.5028 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6151, allocations: 0 / 0.8653 GB, free: 15.16 MB / 0.5028 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001816/0.6153, allocations: 174.7 kB / 0.8654 GB, free: 14.98 MB / 0.5028 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.6154, allocations: 85.02 kB / 0.8655 GB, free: 14.88 MB / 0.5028 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.6154, allocations: 0 / 0.8655 GB, free: 14.88 MB / 0.5028 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.6155, allocations: 19.98 kB / 0.8655 GB, free: 14.86 MB / 0.5028 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.6156, allocations: 3.984 kB / 0.8655 GB, free: 14.86 MB / 0.5028 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.6156, allocations: 4 kB / 0.8655 GB, free: 14.86 MB / 0.5028 GB Notification: Performance of sort global known variables: time 5.216e-05/0.6156, allocations: 98.58 kB / 0.8656 GB, free: 14.77 MB / 0.5028 GB Notification: Performance of remove unused functions: time 0.0002335/0.6159, allocations: 11.94 kB / 0.8657 GB, free: 14.75 MB / 0.5028 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 (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.0001549/0.616, allocations: 100.2 kB / 0.8657 GB, free: 14.65 MB / 0.5028 GB Notification: Performance of simCode: created initialization part: time 9.85e-05/0.6161, allocations: 43.11 kB / 0.8658 GB, free: 14.61 MB / 0.5028 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6162, allocations: 0 / 0.8658 GB, free: 14.61 MB / 0.5028 GB Notification: Performance of simCode: created simulation system equations: time 3.501e-05/0.6162, allocations: 19.5 kB / 0.8658 GB, free: 14.6 MB / 0.5028 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.6164, allocations: 1.203 kB / 0.8658 GB, free: 14.6 MB / 0.5028 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.6167, allocations: 102.9 kB / 0.8659 GB, free: 14.48 MB / 0.5028 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.6169, allocations: 0.7032 MB / 0.8666 GB, free: 13.75 MB / 0.5028 GB Notification: Performance of SimCode: time 2.7e-07/0.617, allocations: 0 / 0.8666 GB, free: 13.75 MB / 0.5028 GB Notification: Performance of Templates: time 0.002753/0.6197, allocations: 0.7365 MB / 0.8673 GB, free: 13.04 MB / 0.5028 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)