Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",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.138/2.138, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.001594/0.001594, allocations: 175.7 kB / 315.1 MB, free: 4.234 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/2, allocations: 205.1 MB / 0.5658 GB, free: 344 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.00133/0.00133, allocations: 87.34 kB / 0.67 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.528/0.5294, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.7595, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7614/1.521, allocations: 155.2 MB / 1.035 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003912/1.521, allocations: 94.44 kB / 1.035 GB, free: 2.492 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.09237/1.614, allocations: 17.86 MB / 1.053 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/1.614, allocations: 16 kB / 1.053 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/1.616, allocations: 95.52 kB / 1.053 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009865/1.617, allocations: 287.9 kB / 1.053 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/1.617, allocations: 8 kB / 1.053 GB, free: 3.117 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.617, allocations: 15.38 kB / 1.053 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001053/1.618, allocations: 250.2 kB / 1.053 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/1.62, allocations: 352.3 kB / 1.054 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.62, allocations: 0 / 1.054 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.515e-05/1.62, allocations: 0 / 1.054 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-05/1.62, allocations: 20.36 kB / 1.054 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004902/1.625, allocations: 1.618 MB / 1.055 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/1.626, allocations: 329.9 kB / 1.055 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/1.626, allocations: 164.2 kB / 1.056 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/1.627, allocations: 96.41 kB / 1.056 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005086/1.627, allocations: 215.2 kB / 1.056 GB, free: 420 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=27): time 2.965e-06/1.627, allocations: 0 / 1.056 GB, free: 420 kB / 0.6667 GB Notification: Performance of matching and sorting (n=28): time 0.001923/1.629, allocations: 442.2 kB / 1.056 GB, free: 48 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/1.629, allocations: 84.8 kB / 1.056 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/1.63, allocations: 187.2 kB / 1.057 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/1.63, allocations: 33.64 kB / 1.057 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/1.63, allocations: 146 kB / 1.057 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/1.63, allocations: 90.72 kB / 1.057 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/1.63, allocations: 0 / 1.057 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.63, allocations: 333.2 kB / 1.057 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/1.631, allocations: 135.7 kB / 1.057 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/1.631, allocations: 199.7 kB / 1.057 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/1.632, allocations: 161.6 kB / 1.058 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.632, allocations: 4 kB / 1.058 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00173/1.634, allocations: 436.3 kB / 1.058 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005149/1.634, allocations: 0.869 MB / 1.059 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.634, allocations: 0 / 1.059 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/1.635, allocations: 47.92 kB / 1.059 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.636, allocations: 91.86 kB / 1.059 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003721/1.639, allocations: 1.409 MB / 1.06 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.641, allocations: 55.28 kB / 1.06 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.641, allocations: 8 kB / 1.06 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.641, allocations: 4 kB / 1.06 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00215/1.643, allocations: 351.9 kB / 1.061 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.644, allocations: 4 kB / 1.061 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004196/1.644, allocations: 39.7 kB / 1.061 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/1.645, allocations: 87.41 kB / 1.061 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/1.648, allocations: 1.407 MB / 1.062 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009993/1.649, allocations: 43.81 kB / 1.062 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/1.649, allocations: 11.38 kB / 1.062 GB, free: 10.04 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003486/1.65, allocations: 116.9 kB / 1.062 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/1.65, allocations: 27.7 kB / 1.062 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/1.652, allocations: 402 kB / 1.063 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/1.652, allocations: 4 kB / 1.063 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.503e-05/1.652, allocations: 0 / 1.063 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/1.652, allocations: 3.938 kB / 1.063 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/1.654, allocations: 0.5209 MB / 1.063 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.654, allocations: 4 kB / 1.063 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.655, allocations: 75.97 kB / 1.063 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00039/1.656, allocations: 40.58 kB / 1.063 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/1.656, allocations: 8 kB / 1.063 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/1.658, allocations: 1.337 MB / 1.065 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/1.658, allocations: 0 / 1.065 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002005/1.66, allocations: 0.5041 MB / 1.065 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002261/1.663, allocations: 0.8792 MB / 1.066 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/1.663, allocations: 131.2 kB / 1.066 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/1.663, allocations: 4 kB / 1.066 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/1.665, allocations: 47.7 kB / 1.066 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/1.665, allocations: 22.89 kB / 1.066 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/1.665, allocations: 10.31 kB / 1.066 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000626/1.666, allocations: 160.6 kB / 1.067 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002839/1.669, allocations: 136.8 kB / 1.067 GB, free: 5.809 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: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003603/1.669, allocations: 123.1 kB / 1.067 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002311/1.672, allocations: 0.7707 MB / 1.068 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.672, allocations: 1.125 kB / 1.068 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007898/1.673, allocations: 277.3 kB / 1.068 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/1.673, allocations: 35.66 kB / 1.068 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/1.675, allocations: 485.2 kB / 1.068 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008172/1.676, allocations: 0.8144 MB / 1.069 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of SimCode: time 1.883e-06/1.676, allocations: 4 kB / 1.069 GB, free: 3.492 MB / 0.6823 GB