Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) [: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/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 178.3 kB / 7.797 MB, free: 1.203 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4761/0.4761, allocations: 90.85 MB / 99.07 MB, free: 8.957 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.3 MB / 342.7 MB, free: 4.695 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009398/0.0009398, allocations: 94.39 kB / 415.5 MB, free: 14.18 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1536/0.1546, allocations: 78.45 MB / 494 MB, free: 7.504 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.5362, allocations: 72.32 MB / 0.553 GB, free: 59.62 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.6697, allocations: 100.7 MB / 0.6514 GB, free: 3.473 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.6701, allocations: 71.95 kB / 0.6514 GB, free: 3.402 MB / 466.8 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.003619/0.6737, allocations: 1.152 MB / 0.6526 GB, free: 2.258 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6737, allocations: 12.56 kB / 0.6526 GB, free: 2.246 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.6738, allocations: 3.906 kB / 0.6526 GB, free: 2.242 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.6739, allocations: 179.8 kB / 0.6528 GB, free: 2.027 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.6739, allocations: 4 kB / 0.6528 GB, free: 2.023 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.6739, allocations: 1.781 kB / 0.6528 GB, free: 2.023 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001161/0.6741, allocations: 32.61 kB / 0.6528 GB, free: 1.992 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.422e-05/0.6742, allocations: 55.05 kB / 0.6528 GB, free: 1.934 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.6742, allocations: 0.8438 kB / 0.6528 GB, free: 1.934 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.6742, allocations: 0.7812 kB / 0.6528 GB, free: 1.934 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6742, allocations: 3.188 kB / 0.6528 GB, free: 1.934 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.6747, allocations: 311 kB / 0.6531 GB, free: 1.594 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.6748, allocations: 50.56 kB / 0.6532 GB, free: 1.535 MB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.6749, allocations: 20.86 kB / 0.6532 GB, free: 1.512 MB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/0.6751, allocations: 110.9 kB / 0.6533 GB, free: 1.387 MB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6751, allocations: 34.56 kB / 0.6534 GB, free: 1.344 MB / 466.8 MB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/0.6751, allocations: 0 / 0.6534 GB, free: 1.344 MB / 466.8 MB Notification: Performance of matching and sorting (n=3): time 0.0002551/0.6754, allocations: 77.61 kB / 0.6534 GB, free: 1.262 MB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.6754, allocations: 51.41 kB / 0.6535 GB, free: 1.199 MB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.6755, allocations: 119.9 kB / 0.6536 GB, free: 1.078 MB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.6755, allocations: 27.02 kB / 0.6536 GB, free: 1.047 MB / 466.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.6756, allocations: 84.12 kB / 0.6537 GB, free: 0.9609 MB / 466.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.6756, allocations: 13.31 kB / 0.6537 GB, free: 0.9492 MB / 466.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.6756, allocations: 0 / 0.6537 GB, free: 0.9492 MB / 466.8 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6758, allocations: 314.8 kB / 0.654 GB, free: 0.6328 MB / 466.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.712e-05/0.6758, allocations: 23.98 kB / 0.654 GB, free: 0.6094 MB / 466.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.6758, allocations: 12 kB / 0.654 GB, free: 0.5977 MB / 466.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.498e-05/0.6759, allocations: 23.97 kB / 0.6541 GB, free: 0.5742 MB / 466.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6759, allocations: 0 / 0.6541 GB, free: 0.5742 MB / 466.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001753/0.6761, allocations: 85.5 kB / 0.6541 GB, free: 496 kB / 466.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.6761, allocations: 4 kB / 0.6542 GB, free: 492 kB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.6761, allocations: 0 / 0.6542 GB, free: 492 kB / 466.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.6762, allocations: 5.422 kB / 0.6542 GB, free: 488 kB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.6763, allocations: 23.98 kB / 0.6542 GB, free: 464 kB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6763, allocations: 3.906 kB / 0.6542 GB, free: 460 kB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.6764, allocations: 19.98 kB / 0.6542 GB, free: 440 kB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.6765, allocations: 4 kB / 0.6542 GB, free: 436 kB / 466.8 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.6766, allocations: 103.7 kB / 0.6543 GB, free: 328 kB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.6766, allocations: 13.16 kB / 0.6543 GB, free: 316 kB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.6768, allocations: 85.66 kB / 0.6544 GB, free: 224 kB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6769, allocations: 0 / 0.6544 GB, free: 224 kB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6769, allocations: 0 / 0.6544 GB, free: 224 kB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6769, allocations: 4 kB / 0.6544 GB, free: 220 kB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.677, allocations: 158.1 kB / 0.6546 GB, free: 24 kB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6771, allocations: 0 / 0.6546 GB, free: 24 kB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.6772, allocations: 35.84 kB / 0.6546 GB, free: 15.99 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6772, allocations: 0 / 0.6546 GB, free: 15.99 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.6773, allocations: 8 kB / 0.6546 GB, free: 15.98 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.6773, allocations: 2.25 kB / 0.6546 GB, free: 15.98 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6773, allocations: 0 / 0.6546 GB, free: 15.98 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002109/0.6775, allocations: 172.8 kB / 0.6548 GB, free: 15.8 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003314/0.6778, allocations: 0.5389 MB / 0.6553 GB, free: 15.24 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.6779, allocations: 92.95 kB / 0.6554 GB, free: 15.13 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.6779, allocations: 0 / 0.6554 GB, free: 15.13 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.6781, allocations: 15.98 kB / 0.6554 GB, free: 15.11 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.6781, allocations: 11.89 kB / 0.6554 GB, free: 15.1 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.6781, allocations: 0 / 0.6554 GB, free: 15.1 MB / 482.8 MB Notification: Performance of sort global known variables: time 5.392e-05/0.6782, allocations: 103.3 kB / 0.6555 GB, free: 15 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.0007957/0.679, allocations: 11.94 kB / 0.6555 GB, free: 14.99 MB / 482.8 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.0001334/0.6791, allocations: 95.25 kB / 0.6556 GB, free: 14.89 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.6792, allocations: 35.98 kB / 0.6556 GB, free: 14.85 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6793, allocations: 0 / 0.6556 GB, free: 14.85 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.6793, allocations: 17.59 kB / 0.6557 GB, free: 14.84 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.6795, allocations: 4.844 kB / 0.6557 GB, free: 14.83 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.6797, allocations: 101.7 kB / 0.6558 GB, free: 14.71 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.6801, allocations: 0.7006 MB / 0.6564 GB, free: 13.98 MB / 482.8 MB Notification: Performance of SimCode: time 2.91e-07/0.6801, allocations: 0 / 0.6564 GB, free: 13.98 MB / 482.8 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1)