Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.454/2.454, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.001664/0.001664, allocations: 180.1 kB / 315.1 MB, free: 4.266 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.106/2.106, allocations: 205.1 MB / 0.5658 GB, free: 368 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.001339/0.001338, allocations: 90.77 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4696/0.471, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.6906, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7316/1.422, allocations: 148 MB / 1.028 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/1.423, allocations: 90.88 kB / 1.028 GB, free: 9.488 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.09754/1.52, allocations: 20.66 MB / 1.048 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.52, allocations: 12 kB / 1.048 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/1.522, allocations: 139.2 kB / 1.048 GB, free: 8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/1.523, allocations: 379 kB / 1.049 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/1.523, allocations: 12 kB / 1.049 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.049e-05/1.523, allocations: 19.44 kB / 1.049 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008432/1.524, allocations: 288.2 kB / 1.049 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/1.525, allocations: 0.5427 MB / 1.05 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/1.525, allocations: 7.938 kB / 1.05 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.705e-05/1.525, allocations: 0 / 1.05 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.777e-05/1.525, allocations: 40.31 kB / 1.05 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/1.531, allocations: 3.293 MB / 1.053 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008767/1.532, allocations: 301.2 kB / 1.053 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003808/1.532, allocations: 159.9 kB / 1.053 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/1.532, allocations: 7.984 kB / 1.053 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/1.532, allocations: 34.06 kB / 1.053 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=26): time 3.307e-06/1.532, allocations: 0 / 1.053 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of matching and sorting (n=27): time 0.002269/1.535, allocations: 0.581 MB / 1.054 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/1.535, allocations: 63.58 kB / 1.054 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/1.535, allocations: 250.1 kB / 1.054 GB, free: 2.375 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/1.535, allocations: 25.7 kB / 1.054 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/1.535, allocations: 214.8 kB / 1.054 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/1.536, allocations: 95.72 kB / 1.055 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/1.536, allocations: 3.938 kB / 1.055 GB, free: 2.062 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.536, allocations: 345.1 kB / 1.055 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/1.536, allocations: 124.2 kB / 1.055 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/1.537, allocations: 247.5 kB / 1.055 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/1.537, allocations: 172.5 kB / 1.055 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.537, allocations: 3.906 kB / 1.055 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001525/1.539, allocations: 486.3 kB / 1.056 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/1.539, allocations: 7.906 kB / 1.056 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/1.539, allocations: 4 kB / 1.056 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008402/1.539, allocations: 85.52 kB / 1.056 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.541, allocations: 91.39 kB / 1.056 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/1.541, allocations: 7.984 kB / 1.056 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008519/1.542, allocations: 19.98 kB / 1.056 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/1.542, allocations: 15.31 kB / 1.056 GB, free: 0.6719 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002587/1.542, allocations: 117.1 kB / 1.056 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/1.542, allocations: 35.53 kB / 1.056 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/1.544, allocations: 424.9 kB / 1.057 GB, free: 192 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.544, allocations: 4 kB / 1.057 GB, free: 188 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.545, allocations: 0 / 1.057 GB, free: 188 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/1.545, allocations: 0 / 1.057 GB, free: 188 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/1.548, allocations: 0.8775 MB / 1.057 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.548, allocations: 7.906 kB / 1.057 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007422/1.549, allocations: 51.2 kB / 1.058 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007505/1.55, allocations: 84.92 kB / 1.058 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/1.55, allocations: 0 / 1.058 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.985e-05/1.55, allocations: 7.938 kB / 1.058 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.55, allocations: 0 / 1.058 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001823/1.552, allocations: 0.539 MB / 1.058 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001556/1.553, allocations: 0.9254 MB / 1.059 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/1.554, allocations: 134.4 kB / 1.059 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/1.554, allocations: 0 / 1.059 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/1.554, allocations: 23.97 kB / 1.059 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/1.555, allocations: 14.17 kB / 1.059 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/1.555, allocations: 6.875 kB / 1.059 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003203/1.555, allocations: 195.2 kB / 1.059 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001483/1.556, allocations: 87.83 kB / 1.06 GB, free: 13.46 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002139/1.557, allocations: 118 kB / 1.06 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001145/1.558, allocations: 0.5853 MB / 1.06 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.558, allocations: 4 kB / 1.06 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006578/1.558, allocations: 414.9 kB / 1.061 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.56, allocations: 110.5 kB / 1.061 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/1.561, allocations: 0.5061 MB / 1.061 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007707/1.562, allocations: 0.8632 MB / 1.062 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of SimCode: time 4.068e-06/1.562, allocations: 0 / 1.062 GB, free: 10.89 MB / 0.6823 GB