Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.245/1.245, allocations: 249.4 MB / 256.7 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 173.3 kB / 316 MB, free: 3.586 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009177/0.0009177, allocations: 87.36 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.353/0.3539, allocations: 112.5 MB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.5324, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5192/1.052, allocations: 131.9 MB / 1.013 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/1.052, allocations: 73.95 kB / 1.014 GB, free: 6.691 MB / 0.6355 GB 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.003459/1.055, allocations: 1.162 MB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/1.055, allocations: 8 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/1.056, allocations: 7.906 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/1.056, allocations: 167 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/1.056, allocations: 0.75 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/1.056, allocations: 4 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000106/1.056, allocations: 28.73 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.851e-05/1.056, allocations: 53.23 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.056, allocations: 0 / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/1.056, allocations: 4 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.056, allocations: 7.906 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/1.057, allocations: 301.5 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.542e-05/1.057, allocations: 52.97 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/1.057, allocations: 23.88 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/1.057, allocations: 108.7 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/1.057, allocations: 30.56 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/1.057, allocations: 0 / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002676/1.057, allocations: 82.12 kB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/1.057, allocations: 51.41 kB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/1.057, allocations: 120.2 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/1.057, allocations: 25.7 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/1.057, allocations: 89.62 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/1.057, allocations: 7.891 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/1.057, allocations: 0 / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/1.058, allocations: 322.3 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/1.058, allocations: 15.36 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/1.058, allocations: 14.56 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/1.058, allocations: 23.16 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.058, allocations: 8 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000153/1.058, allocations: 72.48 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.058, allocations: 6.5 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.058, allocations: 3.906 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/1.058, allocations: 0 / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/1.058, allocations: 27.97 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.058, allocations: 3.938 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.419e-05/1.058, allocations: 19.98 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/1.058, allocations: 3.25 kB / 1.016 GB, free: 3.859 MB / 0.6355 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.645e-05/1.058, allocations: 105 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/1.058, allocations: 7.906 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/1.059, allocations: 89.08 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/1.059, allocations: 240 / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.059, allocations: 4 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.059, allocations: 0 / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/1.059, allocations: 163.8 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.059, allocations: 0 / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/1.059, allocations: 31.66 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.059, allocations: 3.938 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/1.059, allocations: 0 / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.059, allocations: 4 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.059, allocations: 0 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002023/1.059, allocations: 177.1 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002987/1.059, allocations: 0.5434 MB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/1.06, allocations: 81.09 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/1.06, allocations: 3.906 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/1.06, allocations: 23.92 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/1.06, allocations: 4 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/1.06, allocations: 6.984 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.538e-05/1.06, allocations: 90.97 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007589/1.061, allocations: 15.94 kB / 1.018 GB, free: 2.473 MB / 0.6355 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.0001259/1.061, allocations: 107.2 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.459e-05/1.061, allocations: 31.69 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.061, allocations: 0 / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/1.061, allocations: 23.48 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/1.061, allocations: 7.266 kB / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/1.061, allocations: 103 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/1.062, allocations: 0.7024 MB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/1.062, allocations: 4 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)