Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.ParallelResistors,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",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.24/2.24, allocations: 248.6 MB / 255.9 MB, free: 7.172 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.001673/0.001673, allocations: 196 kB / 315.1 MB, free: 4.262 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.08/2.08, allocations: 205.1 MB / 0.5658 GB, free: 296 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.001924/0.001923, allocations: 95.25 kB / 0.67 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4862/0.4882, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.7414, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7293/1.471, allocations: 147.8 MB / 1.028 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005108/1.471, allocations: 92.77 kB / 1.028 GB, free: 9.727 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.07272/1.544, allocations: 13.45 MB / 1.041 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.544, allocations: 8 kB / 1.041 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/1.545, allocations: 87.61 kB / 1.041 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/1.546, allocations: 240.2 kB / 1.041 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/1.546, allocations: 11.91 kB / 1.041 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/1.546, allocations: 8 kB / 1.041 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005563/1.547, allocations: 175.4 kB / 1.042 GB, free: 14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/1.547, allocations: 274.9 kB / 1.042 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/1.547, allocations: 4 kB / 1.042 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/1.547, allocations: 0 / 1.042 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.756e-05/1.547, allocations: 23.73 kB / 1.042 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/1.55, allocations: 1.46 MB / 1.043 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/1.551, allocations: 229.4 kB / 1.043 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/1.551, allocations: 120.5 kB / 1.044 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/1.551, allocations: 2.938 kB / 1.044 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/1.551, allocations: 38.5 kB / 1.044 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/1.551, allocations: 4 kB / 1.044 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0007093/1.552, allocations: 227.3 kB / 1.044 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/1.552, allocations: 81.11 kB / 1.044 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/1.552, allocations: 149.9 kB / 1.044 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/1.552, allocations: 25.7 kB / 1.044 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/1.552, allocations: 138.4 kB / 1.044 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/1.552, allocations: 46.55 kB / 1.044 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/1.552, allocations: 0 / 1.044 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.552, allocations: 333.9 kB / 1.045 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/1.553, allocations: 87.16 kB / 1.045 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/1.553, allocations: 149.4 kB / 1.045 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/1.553, allocations: 122.2 kB / 1.045 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.553, allocations: 0 / 1.045 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007058/1.554, allocations: 266.9 kB / 1.045 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003342/1.554, allocations: 0.7064 MB / 1.046 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.554, allocations: 4 kB / 1.046 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.554, allocations: 0 / 1.046 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/1.555, allocations: 59.22 kB / 1.046 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/1.555, allocations: 3.938 kB / 1.046 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/1.555, allocations: 31.81 kB / 1.046 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/1.556, allocations: 11.94 kB / 1.046 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.556, allocations: 7.906 kB / 1.046 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005039/1.556, allocations: 191.7 kB / 1.046 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.556, allocations: 4 kB / 1.046 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/1.556, allocations: 4 kB / 1.046 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/1.557, allocations: 51.41 kB / 1.046 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.557, allocations: 4 kB / 1.046 GB, free: 9.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/1.557, allocations: 27.92 kB / 1.046 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/1.557, allocations: 11.98 kB / 1.046 GB, free: 9.391 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001386/1.557, allocations: 104.9 kB / 1.046 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/1.557, allocations: 15.81 kB / 1.046 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006952/1.558, allocations: 248.3 kB / 1.047 GB, free: 9.082 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.558, allocations: 0 / 1.047 GB, free: 9.082 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.558, allocations: 3.906 kB / 1.047 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/1.558, allocations: 0 / 1.047 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/1.559, allocations: 0.6156 MB / 1.047 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.559, allocations: 0 / 1.047 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/1.56, allocations: 47.81 kB / 1.047 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/1.56, allocations: 8.125 kB / 1.047 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/1.56, allocations: 3.984 kB / 1.047 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/1.56, allocations: 7.984 kB / 1.047 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.56, allocations: 0 / 1.047 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000704/1.561, allocations: 480.1 kB / 1.048 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008497/1.562, allocations: 0.8516 MB / 1.049 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/1.562, allocations: 115.8 kB / 1.049 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/1.562, allocations: 4 kB / 1.049 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/1.562, allocations: 19.98 kB / 1.049 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/1.562, allocations: 15.58 kB / 1.049 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/1.562, allocations: 4 kB / 1.049 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001542/1.563, allocations: 129.8 kB / 1.049 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002326/1.565, allocations: 87.25 kB / 1.049 GB, free: 6.734 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0002638/1.565, allocations: 107.2 kB / 1.049 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008849/1.566, allocations: 328.4 kB / 1.049 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.566, allocations: 0.875 kB / 1.049 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/1.566, allocations: 105.3 kB / 1.049 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/1.567, allocations: 33.11 kB / 1.049 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/1.568, allocations: 328.5 kB / 1.05 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/1.569, allocations: 0.7852 MB / 1.051 GB, free: 5.145 MB / 0.6667 GB Notification: Performance of SimCode: time 1.072e-06/1.569, allocations: 0 / 1.051 GB, free: 5.145 MB / 0.6667 GB