Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",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.433/2.433, allocations: 248.6 MB / 255.9 MB, free: 7.211 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.00254/0.00254, allocations: 190.8 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.255/2.255, allocations: 205.1 MB / 0.5658 GB, free: 352 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.001863/0.001863, allocations: 90.77 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5065/0.5085, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.7248, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7215/1.446, allocations: 160.8 MB / 1.041 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/1.447, allocations: 92.44 kB / 1.041 GB, free: 13.16 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.1467/1.594, allocations: 28.73 MB / 1.069 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/1.594, allocations: 8 kB / 1.069 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/1.598, allocations: 183.1 kB / 1.069 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/1.599, allocations: 366.5 kB / 1.069 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/1.599, allocations: 16 kB / 1.069 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/1.599, allocations: 27.91 kB / 1.069 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00148/1.601, allocations: 493.5 kB / 1.07 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/1.603, allocations: 0.7217 MB / 1.07 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/1.603, allocations: 4 kB / 1.07 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/1.603, allocations: 7.938 kB / 1.07 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/1.603, allocations: 52.17 kB / 1.07 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007048/1.61, allocations: 4.412 MB / 1.075 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/1.612, allocations: 0.5186 MB / 1.075 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006594/1.612, allocations: 261.3 kB / 1.076 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/1.612, allocations: 4 kB / 1.076 GB, free: 14.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/1.612, allocations: 49.12 kB / 1.076 GB, free: 14.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 3.797e-06/1.612, allocations: 0 / 1.076 GB, free: 14.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.002166/1.615, allocations: 0.6406 MB / 1.076 GB, free: 13.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/1.615, allocations: 85.09 kB / 1.076 GB, free: 13.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/1.615, allocations: 279.4 kB / 1.077 GB, free: 13.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.529e-05/1.615, allocations: 25.7 kB / 1.077 GB, free: 13.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/1.616, allocations: 266.6 kB / 1.077 GB, free: 13.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/1.616, allocations: 131.5 kB / 1.077 GB, free: 13.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/1.616, allocations: 0 / 1.077 GB, free: 13.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001706/1.616, allocations: 348.4 kB / 1.077 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006247/1.617, allocations: 225.5 kB / 1.078 GB, free: 12.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000782/1.617, allocations: 430.1 kB / 1.078 GB, free: 12.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007555/1.618, allocations: 291.4 kB / 1.078 GB, free: 12.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/1.618, allocations: 4 kB / 1.078 GB, free: 12.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002042/1.62, allocations: 0.6744 MB / 1.079 GB, free: 11.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001295/1.622, allocations: 2.618 MB / 1.081 GB, free: 8.715 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.964e-05/1.622, allocations: 4 kB / 1.081 GB, free: 8.711 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.58e-05/1.622, allocations: 12 kB / 1.081 GB, free: 8.699 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/1.624, allocations: 170.6 kB / 1.082 GB, free: 8.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/1.624, allocations: 15.92 kB / 1.082 GB, free: 8.523 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/1.625, allocations: 67.7 kB / 1.082 GB, free: 8.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.954e-05/1.625, allocations: 27.48 kB / 1.082 GB, free: 8.434 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.625, allocations: 8 kB / 1.082 GB, free: 8.426 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001412/1.627, allocations: 490.5 kB / 1.082 GB, free: 8.055 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.627, allocations: 8 kB / 1.082 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.627, allocations: 15.94 kB / 1.082 GB, free: 8.031 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/1.628, allocations: 159.3 kB / 1.082 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.572e-05/1.628, allocations: 15.92 kB / 1.082 GB, free: 7.863 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/1.629, allocations: 63.22 kB / 1.082 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/1.629, allocations: 31.3 kB / 1.082 GB, free: 7.777 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0003066/1.629, allocations: 120.6 kB / 1.083 GB, free: 7.656 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.629, allocations: 39.53 kB / 1.083 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/1.631, allocations: 0.5661 MB / 1.083 GB, free: 7.188 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.631, allocations: 7.906 kB / 1.083 GB, free: 7.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.631, allocations: 4 kB / 1.083 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/1.631, allocations: 3.938 kB / 1.083 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/1.635, allocations: 1.293 MB / 1.084 GB, free: 6.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/1.635, allocations: 4 kB / 1.084 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.637, allocations: 143.2 kB / 1.085 GB, free: 5.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.579e-05/1.637, allocations: 4 kB / 1.085 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/1.637, allocations: 0 / 1.085 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/1.637, allocations: 7.938 kB / 1.085 GB, free: 5.906 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.637, allocations: 4 kB / 1.085 GB, free: 5.902 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001618/1.638, allocations: 0.8043 MB / 1.085 GB, free: 5.145 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001715/1.64, allocations: 1.191 MB / 1.087 GB, free: 4.008 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/1.641, allocations: 174.4 kB / 1.087 GB, free: 3.832 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/1.641, allocations: 0 / 1.087 GB, free: 3.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008993/1.642, allocations: 55.84 kB / 1.087 GB, free: 3.777 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/1.642, allocations: 27.03 kB / 1.087 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/1.642, allocations: 8 kB / 1.087 GB, free: 3.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0004329/1.642, allocations: 226.5 kB / 1.087 GB, free: 3.574 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003024/1.645, allocations: 185.9 kB / 1.087 GB, free: 3.398 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 42 * 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.0002357/1.646, allocations: 115.1 kB / 1.087 GB, free: 3.277 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002145/1.648, allocations: 0.8375 MB / 1.088 GB, free: 2.668 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.648, allocations: 0 / 1.088 GB, free: 2.668 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007002/1.649, allocations: 266 kB / 1.088 GB, free: 2.477 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/1.65, allocations: 98.91 kB / 1.088 GB, free: 2.398 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/1.653, allocations: 0.8315 MB / 1.089 GB, free: 1.613 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.654, allocations: 0.9379 MB / 1.09 GB, free: 0.668 MB / 0.698 GB Notification: Performance of SimCode: time 2.515e-06/1.654, allocations: 4 kB / 1.09 GB, free: 0.6641 MB / 0.698 GB