Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001136/0.001136, allocations: 187.8 kB / 366.3 MB, free: 2.023 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.549/1.549, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.0009353/0.0009354, allocations: 88.72 kB / 0.7396 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2943/0.2952, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7304/1.026, allocations: 116.3 MB / 0.9726 GB, free: 68.17 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/1.216, allocations: 138.2 MB / 1.108 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.217, allocations: 80.59 kB / 1.108 GB, free: 10.26 MB / 0.7136 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.003858/1.22, allocations: 1.149 MB / 1.109 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.221, allocations: 8 kB / 1.109 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/1.221, allocations: 8.844 kB / 1.109 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/1.221, allocations: 171 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/1.221, allocations: 4 kB / 1.109 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/1.221, allocations: 0 / 1.109 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001249/1.221, allocations: 31.98 kB / 1.109 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/1.221, allocations: 57.61 kB / 1.109 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.221, allocations: 0 / 1.109 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.221, allocations: 4 kB / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/1.221, allocations: 0 / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/1.222, allocations: 305.3 kB / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.815e-05/1.222, allocations: 47.97 kB / 1.109 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/1.222, allocations: 24.94 kB / 1.109 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/1.222, allocations: 105.1 kB / 1.109 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/1.222, allocations: 38.5 kB / 1.11 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/1.222, allocations: 0 / 1.11 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002912/1.222, allocations: 77.56 kB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/1.223, allocations: 59.41 kB / 1.11 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/1.223, allocations: 113 kB / 1.11 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/1.223, allocations: 25.7 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/1.223, allocations: 80.14 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/1.223, allocations: 19.8 kB / 1.11 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/1.223, allocations: 0 / 1.11 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.223, allocations: 310.8 kB / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/1.223, allocations: 15.98 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/1.223, allocations: 20 kB / 1.11 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.415e-05/1.223, allocations: 28.81 kB / 1.11 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.223, allocations: 0 / 1.11 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001743/1.223, allocations: 77.7 kB / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.223, allocations: 4 kB / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.223, allocations: 1.484 kB / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.223, allocations: 0 / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/1.224, allocations: 43.89 kB / 1.11 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/1.224, allocations: 0 / 1.11 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.621e-05/1.224, allocations: 15.98 kB / 1.11 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/1.224, allocations: 5.406 kB / 1.11 GB, free: 7.238 MB / 0.7136 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 8.033e-05/1.224, allocations: 108.9 kB / 1.11 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/1.224, allocations: 7.906 kB / 1.11 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/1.224, allocations: 93.64 kB / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.224, allocations: 0 / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.224, allocations: 3.938 kB / 1.111 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.224, allocations: 0 / 1.111 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/1.224, allocations: 154.2 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.224, allocations: 0 / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/1.225, allocations: 27.97 kB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/1.225, allocations: 7.906 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/1.225, allocations: 0 / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.225, allocations: 0 / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.225, allocations: 0 / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002399/1.225, allocations: 175.4 kB / 1.111 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004082/1.225, allocations: 0.544 MB / 1.111 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/1.225, allocations: 85 kB / 1.112 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/1.225, allocations: 4 kB / 1.112 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/1.226, allocations: 19.98 kB / 1.112 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/1.226, allocations: 3.984 kB / 1.112 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/1.226, allocations: 4 kB / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.681e-05/1.226, allocations: 97.88 kB / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008369/1.227, allocations: 15.84 kB / 1.112 GB, free: 5.797 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.0001681/1.227, allocations: 104.9 kB / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001182/1.227, allocations: 32 kB / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.227, allocations: 0 / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/1.227, allocations: 23.92 kB / 1.112 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/1.227, allocations: 5.781 kB / 1.112 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/1.227, allocations: 87.81 kB / 1.112 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/1.228, allocations: 0.7149 MB / 1.113 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/1.228, allocations: 0 / 1.113 GB, free: 4.777 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)