Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_PowerLinearized",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.1/package.mo): time 2.125/2.125, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.001644/0.001644, allocations: 191.8 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.1 MB / 0.5658 GB, free: 372 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 85.56 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4044/0.4057, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.589, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5655/1.155, allocations: 131.7 MB / 1.012 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.155, allocations: 69.53 kB / 1.012 GB, free: 8.473 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003312/1.158, allocations: 0.8148 MB / 1.013 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.158, allocations: 11.98 kB / 1.013 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/1.158, allocations: 4 kB / 1.013 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/1.158, allocations: 166.9 kB / 1.013 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/1.158, allocations: 4 kB / 1.013 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/1.158, allocations: 0 / 1.013 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.676e-05/1.159, allocations: 7.875 kB / 1.013 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.959e-05/1.159, allocations: 41.56 kB / 1.013 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/1.159, allocations: 7.984 kB / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/1.159, allocations: 0 / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/1.159, allocations: 0 / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/1.159, allocations: 255.9 kB / 1.013 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.315e-05/1.159, allocations: 30.42 kB / 1.013 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/1.159, allocations: 8.922 kB / 1.013 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005758/1.16, allocations: 409.5 kB / 1.014 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.16, allocations: 42.19 kB / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/1.16, allocations: 0 / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002109/1.16, allocations: 40.86 kB / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/1.16, allocations: 54.03 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/1.16, allocations: 96.62 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/1.16, allocations: 25.7 kB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/1.16, allocations: 84.12 kB / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/1.16, allocations: 7.844 kB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/1.16, allocations: 4.031 kB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.161, allocations: 318.8 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/1.161, allocations: 3.938 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/1.161, allocations: 7.812 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.455e-05/1.161, allocations: 4 kB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.161, allocations: 0 / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001483/1.161, allocations: 50.12 kB / 1.015 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.161, allocations: 4 kB / 1.015 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.161, allocations: 4.094 kB / 1.015 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/1.161, allocations: 0 / 1.015 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/1.161, allocations: 15.98 kB / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/1.161, allocations: 0 / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.24e-05/1.161, allocations: 4 kB / 1.015 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/1.161, allocations: 8.703 kB / 1.015 GB, free: 5.805 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 (2): * Single equations (assignments): 2 * 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.451e-05/1.161, allocations: 105 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/1.161, allocations: 7.844 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/1.162, allocations: 63.5 kB / 1.015 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/1.162, allocations: 0 / 1.015 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.162, allocations: 0 / 1.015 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.162, allocations: 3.938 kB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/1.162, allocations: 137.3 kB / 1.015 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.162, allocations: 6.125 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/1.162, allocations: 16.02 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.162, allocations: 0 / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/1.162, allocations: 0 / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.162, allocations: 0 / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.162, allocations: 0 / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001881/1.162, allocations: 149.4 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003123/1.163, allocations: 0.5102 MB / 1.016 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/1.163, allocations: 80.61 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/1.163, allocations: 0 / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/1.163, allocations: 16.05 kB / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/1.163, allocations: 0 / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/1.163, allocations: 0 / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.419e-05/1.163, allocations: 79.91 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001127/1.164, allocations: 19.78 kB / 1.016 GB, free: 4.551 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 (2): * Single equations (assignments): 2 * 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.0001703/1.164, allocations: 99.23 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001048/1.164, allocations: 11.75 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.164, allocations: 8 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.434e-05/1.164, allocations: 8 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/1.165, allocations: 0 / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/1.165, allocations: 66.03 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/1.165, allocations: 0.6907 MB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/1.165, allocations: 0 / 1.017 GB, free: 3.625 MB / 0.6355 GB