Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001559/0.00156, allocations: 177.2 kB / 366.3 MB, free: 2.016 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.544/1.544, allocations: 205.2 MB / 0.6256 GB, free: 5.848 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.0009357/0.0009358, allocations: 91.2 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.285/0.286, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.9575, allocations: 116.3 MB / 0.9726 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/1.133, allocations: 138.1 MB / 1.108 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/1.134, allocations: 82.38 kB / 1.108 GB, free: 10.27 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.003707/1.137, allocations: 1.156 MB / 1.109 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/1.138, allocations: 8 kB / 1.109 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/1.138, allocations: 7.906 kB / 1.109 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/1.138, allocations: 167 kB / 1.109 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/1.138, allocations: 7.906 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/1.138, allocations: 4 kB / 1.109 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001046/1.138, allocations: 35.98 kB / 1.109 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.19e-05/1.138, allocations: 57.61 kB / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.138, allocations: 0 / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/1.138, allocations: 0 / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.138, allocations: 0.6562 kB / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/1.138, allocations: 297.4 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/1.139, allocations: 50.56 kB / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/1.139, allocations: 24.94 kB / 1.109 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/1.139, allocations: 101.1 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/1.139, allocations: 42.5 kB / 1.11 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/1.139, allocations: 0 / 1.11 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002868/1.139, allocations: 78.5 kB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/1.139, allocations: 55.41 kB / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/1.139, allocations: 112.6 kB / 1.11 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/1.139, allocations: 25.7 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/1.139, allocations: 88.12 kB / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/1.139, allocations: 11.81 kB / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/1.139, allocations: 0 / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/1.139, allocations: 318.8 kB / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/1.139, allocations: 15.98 kB / 1.11 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.07e-05/1.14, allocations: 16 kB / 1.11 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.94e-05/1.14, allocations: 28.53 kB / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.14, allocations: 0 / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001522/1.14, allocations: 85.62 kB / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/1.14, allocations: 4 kB / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.14, allocations: 0 / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/1.14, allocations: 0 / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/1.14, allocations: 30.05 kB / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/1.14, allocations: 0 / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.708e-05/1.14, allocations: 27.91 kB / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/1.14, allocations: 4 kB / 1.11 GB, free: 7.242 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.242e-05/1.14, allocations: 109.6 kB / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/1.14, allocations: 7.906 kB / 1.111 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/1.14, allocations: 89.64 kB / 1.111 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/1.14, allocations: 0 / 1.111 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.14, allocations: 0 / 1.111 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.14, allocations: 7.938 kB / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/1.141, allocations: 162.2 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.141, allocations: 0 / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/1.141, allocations: 19.98 kB / 1.111 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.141, allocations: 7.906 kB / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.141, allocations: 4 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.141, allocations: 0 / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.141, allocations: 0 / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000185/1.141, allocations: 171.4 kB / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002799/1.141, allocations: 0.5427 MB / 1.111 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/1.141, allocations: 92.94 kB / 1.112 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/1.141, allocations: 4 kB / 1.112 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/1.141, allocations: 19.98 kB / 1.112 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/1.142, allocations: 1.688 kB / 1.112 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/1.142, allocations: 7.984 kB / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.868e-05/1.142, allocations: 97.88 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007962/1.142, allocations: 11.91 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.0001855/1.143, allocations: 103.2 kB / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001076/1.143, allocations: 32 kB / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.143, allocations: 0 / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/1.143, 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.0001699/1.143, allocations: 4 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.0002977/1.143, allocations: 95.81 kB / 1.112 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/1.144, allocations: 0.6993 MB / 1.113 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of SimCode: time 1.562e-06/1.144, allocations: 1.219 kB / 1.113 GB, free: 4.785 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)