Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.362/2.362, allocations: 284.8 MB / 292.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 181.2 kB / 360.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.1 MB / 0.6187 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002123/0.002122, allocations: 87.52 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2999/0.3021, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6234/0.9255, allocations: 115.2 MB / 0.9627 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/1.149, allocations: 137 MB / 1.097 GB, free: 3.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.149, allocations: 72.89 kB / 1.097 GB, free: 3.785 MB / 0.698 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.005484/1.155, allocations: 1.147 MB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.155, allocations: 9.094 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/1.155, allocations: 9.406 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/1.155, allocations: 175.6 kB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/1.155, allocations: 1.266 kB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/1.155, allocations: 4 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001659/1.155, allocations: 32.48 kB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/1.155, allocations: 53.67 kB / 1.098 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/1.155, allocations: 4 kB / 1.098 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/1.155, allocations: 0 / 1.098 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.155, allocations: 0.7031 kB / 1.098 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008513/1.156, allocations: 305.3 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/1.156, allocations: 55.72 kB / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.288e-05/1.156, allocations: 20.94 kB / 1.098 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/1.157, allocations: 101.1 kB / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.157, allocations: 36.53 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.955e-06/1.157, allocations: 0.6562 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003831/1.157, allocations: 81.56 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/1.157, allocations: 51.41 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/1.157, allocations: 115.2 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/1.157, allocations: 25.7 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/1.158, allocations: 88.14 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/1.158, allocations: 7.812 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/1.158, allocations: 3.938 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.158, allocations: 322.8 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/1.158, allocations: 18.06 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/1.158, allocations: 15.98 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/1.158, allocations: 24.69 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.158, allocations: 0 / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002624/1.158, allocations: 81.56 kB / 1.099 GB, free: 0.875 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.158, allocations: 4 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.158, allocations: 1.75 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.158, allocations: 0 / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/1.159, allocations: 32.42 kB / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/1.159, allocations: 4 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/1.159, allocations: 19.98 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/1.159, allocations: 0 / 1.099 GB, free: 0.8164 MB / 0.698 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 9.72e-05/1.159, allocations: 112.7 kB / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/1.159, allocations: 3.906 kB / 1.099 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/1.159, allocations: 98.28 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.159, allocations: 4 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.159, allocations: 0 / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.159, allocations: 1.688 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/1.16, allocations: 158.2 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.16, allocations: 0 / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/1.16, allocations: 19.98 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/1.16, allocations: 4.422 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/1.16, allocations: 0.5625 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.16, allocations: 4 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.16, allocations: 4 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003659/1.16, allocations: 175.9 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004736/1.161, allocations: 0.5426 MB / 1.1 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/1.161, allocations: 81.53 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/1.161, allocations: 4.844 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/1.161, allocations: 26.22 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/1.161, allocations: 4 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/1.161, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.323e-05/1.161, allocations: 101.9 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001122/1.163, allocations: 23.84 kB / 1.101 GB, free: 15.36 MB / 0.7136 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.0001768/1.163, allocations: 95.25 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001633/1.163, allocations: 35.92 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.163, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/1.163, allocations: 24.36 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/1.163, allocations: 7.984 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/1.164, allocations: 103.4 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004244/1.164, allocations: 0.7032 MB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of SimCode: time 9.31e-07/1.164, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)