Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear",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.257/1.257, allocations: 249.4 MB / 256.7 MB, free: 6.988 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.001062/0.001062, allocations: 189.2 kB / 316 MB, free: 3.535 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.255/1.255, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.0008862/0.0008862, allocations: 90.12 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3698/0.3708, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.5486, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5165/1.065, allocations: 131.9 MB / 1.013 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/1.065, allocations: 72.02 kB / 1.014 GB, free: 6.547 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.003698/1.069, allocations: 1.161 MB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/1.069, allocations: 8 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/1.069, allocations: 11.91 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/1.069, allocations: 170.9 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/1.07, allocations: 0 / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/1.07, allocations: 7.938 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001365/1.07, allocations: 30.17 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/1.07, allocations: 51.67 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.07, allocations: 4 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.07, allocations: 0 / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/1.07, allocations: 3.906 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/1.071, allocations: 301.7 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.791e-05/1.071, allocations: 50.12 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.483e-05/1.071, allocations: 24.41 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/1.071, allocations: 109 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/1.071, allocations: 31.75 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/1.071, allocations: 0 / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002983/1.071, allocations: 79.88 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/1.071, allocations: 51.41 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/1.071, allocations: 111.4 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/1.071, allocations: 25.7 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/1.072, allocations: 94.19 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/1.072, allocations: 7.906 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/1.072, allocations: 0 / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.072, allocations: 318.8 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/1.072, allocations: 15.8 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/1.072, allocations: 15.56 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.463e-05/1.072, allocations: 30.25 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.072, allocations: 4 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000149/1.072, allocations: 74.84 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.072, allocations: 4 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.072, allocations: 4.188 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/1.072, allocations: 3.906 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/1.072, allocations: 19.98 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/1.072, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.752e-05/1.072, allocations: 35.64 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/1.072, allocations: 0.5625 kB / 1.016 GB, free: 3.707 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 8.885e-05/1.072, allocations: 105 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/1.073, allocations: 3.906 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/1.073, allocations: 96.08 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/1.073, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.073, allocations: 5.5 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.073, allocations: 3.938 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/1.073, allocations: 163 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.073, allocations: 0 / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/1.073, allocations: 27.92 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.073, allocations: 0 / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/1.073, allocations: 2.75 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/1.073, allocations: 4 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.073, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002269/1.073, allocations: 171.5 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003351/1.074, allocations: 0.552 MB / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/1.074, allocations: 85.03 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/1.074, allocations: 0 / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/1.074, allocations: 23.89 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/1.074, allocations: 7.984 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/1.074, allocations: 0 / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.464e-05/1.074, allocations: 96.03 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007537/1.075, allocations: 12 kB / 1.018 GB, free: 2.316 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.000177/1.075, allocations: 103.2 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001124/1.075, allocations: 36.31 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/1.075, allocations: 3.938 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.631e-05/1.075, allocations: 23.11 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/1.075, allocations: 7.375 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/1.076, allocations: 89.72 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/1.076, allocations: 0.7063 MB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/1.076, allocations: 0 / 1.019 GB, free: 1.32 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)