Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.885/2.885, allocations: 284.8 MB / 292.1 MB, free: 9.84 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.001615/0.001615, allocations: 183.1 kB / 360.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.1 MB / 0.6187 GB, free: 3.242 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001278/0.001277, allocations: 81.08 kB / 0.7317 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5963/0.5976, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.8491, allocations: 115.3 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7009/1.55, allocations: 137 MB / 1.097 GB, free: 44.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.55, allocations: 69.59 kB / 1.097 GB, free: 44.22 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.004924/1.555, allocations: 1.156 MB / 1.098 GB, free: 43.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.555, allocations: 7.75 kB / 1.098 GB, free: 43.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/1.555, allocations: 7.656 kB / 1.098 GB, free: 43.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/1.556, allocations: 174 kB / 1.098 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/1.556, allocations: 0 / 1.098 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/1.556, allocations: 8.531 kB / 1.098 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000165/1.556, allocations: 34.11 kB / 1.098 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/1.556, allocations: 50.8 kB / 1.098 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/1.556, allocations: 4 kB / 1.098 GB, free: 43.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/1.556, allocations: 1.078 kB / 1.098 GB, free: 43.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.556, allocations: 3.875 kB / 1.098 GB, free: 43.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/1.557, allocations: 303.2 kB / 1.098 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/1.557, allocations: 47.58 kB / 1.098 GB, free: 43.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.319e-05/1.557, allocations: 24.22 kB / 1.098 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/1.557, allocations: 106.9 kB / 1.098 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/1.557, allocations: 34.44 kB / 1.099 GB, free: 43.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/1.557, allocations: 0 / 1.099 GB, free: 43.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003515/1.558, allocations: 80.61 kB / 1.099 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/1.558, allocations: 62.05 kB / 1.099 GB, free: 43.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/1.558, allocations: 113.4 kB / 1.099 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/1.558, allocations: 26.36 kB / 1.099 GB, free: 42.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/1.558, allocations: 87.27 kB / 1.099 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/1.558, allocations: 11.38 kB / 1.099 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/1.558, allocations: 0 / 1.099 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.409e-05/1.558, allocations: 317.9 kB / 1.099 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/1.558, allocations: 13.53 kB / 1.099 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/1.558, allocations: 21.31 kB / 1.099 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/1.558, allocations: 27.64 kB / 1.099 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.558, allocations: 0 / 1.099 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002393/1.558, allocations: 77.34 kB / 1.099 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.559, allocations: 9.625 kB / 1.099 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.559, allocations: 0 / 1.099 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.559, allocations: 0 / 1.099 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/1.559, allocations: 26.86 kB / 1.099 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/1.559, allocations: 7.156 kB / 1.099 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/1.559, allocations: 20.02 kB / 1.099 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/1.559, allocations: 7.938 kB / 1.099 GB, free: 42.48 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 6.538e-05/1.559, allocations: 108.1 kB / 1.099 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/1.559, allocations: 0 / 1.099 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/1.559, allocations: 96.31 kB / 1.1 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/1.56, allocations: 0 / 1.1 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.56, allocations: 3.875 kB / 1.1 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.56, allocations: 2.688 kB / 1.1 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/1.56, allocations: 156 kB / 1.1 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.56, allocations: 0 / 1.1 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/1.56, allocations: 23.22 kB / 1.1 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.56, allocations: 3.75 kB / 1.1 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/1.56, allocations: 0 / 1.1 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.56, allocations: 3.906 kB / 1.1 GB, free: 42.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.56, allocations: 3.938 kB / 1.1 GB, free: 42.16 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002629/1.56, allocations: 178.1 kB / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003725/1.561, allocations: 0.5386 MB / 1.1 GB, free: 57.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/1.561, allocations: 88.83 kB / 1.101 GB, free: 57.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/1.561, allocations: 0 / 1.101 GB, free: 57.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/1.561, allocations: 21.66 kB / 1.101 GB, free: 57.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/1.561, allocations: 7.672 kB / 1.101 GB, free: 57.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/1.561, allocations: 2.938 kB / 1.101 GB, free: 57.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.591e-05/1.561, allocations: 93.28 kB / 1.101 GB, free: 57.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001115/1.562, allocations: 14.3 kB / 1.101 GB, free: 57.34 MB / 0.7292 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.0001911/1.563, allocations: 110.5 kB / 1.101 GB, free: 57.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001552/1.563, allocations: 32.8 kB / 1.101 GB, free: 57.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.563, allocations: 0 / 1.101 GB, free: 57.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/1.563, allocations: 18.39 kB / 1.101 GB, free: 57.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/1.563, allocations: 14.03 kB / 1.101 GB, free: 57.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/1.563, allocations: 98.5 kB / 1.101 GB, free: 57.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/1.564, allocations: 0.6985 MB / 1.102 GB, free: 56.45 MB / 0.7292 GB Notification: Performance of SimCode: time 8.01e-07/1.564, allocations: 0 / 1.102 GB, free: 56.45 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)