Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.331/2.331, allocations: 248.6 MB / 255.9 MB, free: 7.121 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.001768/0.001768, allocations: 183.6 kB / 315.1 MB, free: 4.301 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.034/2.034, 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.001378/0.001378, allocations: 86.64 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5091/0.5105, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.7307, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.761/1.492, allocations: 159.6 MB / 1.039 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/1.492, allocations: 83.64 kB / 1.039 GB, free: 14.79 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0987/1.591, allocations: 19.53 MB / 1.058 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.591, allocations: 8 kB / 1.058 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/1.592, allocations: 102.7 kB / 1.059 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/1.593, allocations: 303.2 kB / 1.059 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/1.593, allocations: 8 kB / 1.059 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/1.593, allocations: 16 kB / 1.059 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008345/1.594, allocations: 296.4 kB / 1.059 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/1.595, allocations: 405 kB / 1.06 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/1.595, allocations: 4 kB / 1.06 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/1.595, allocations: 0 / 1.06 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.286e-05/1.595, allocations: 35.77 kB / 1.06 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/1.599, allocations: 1.997 MB / 1.062 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/1.599, allocations: 189.9 kB / 1.062 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/1.6, allocations: 135.7 kB / 1.062 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/1.6, allocations: 0 / 1.062 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/1.6, allocations: 37.81 kB / 1.062 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/1.6, allocations: 0 / 1.062 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0007848/1.601, allocations: 182.1 kB / 1.062 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/1.601, allocations: 55.41 kB / 1.062 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/1.601, allocations: 195 kB / 1.062 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/1.601, allocations: 25.7 kB / 1.062 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/1.601, allocations: 201.2 kB / 1.063 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/1.601, allocations: 69.28 kB / 1.063 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/1.601, allocations: 3.938 kB / 1.063 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.602, allocations: 328.5 kB / 1.063 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/1.602, allocations: 63.67 kB / 1.063 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/1.602, allocations: 181.8 kB / 1.063 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/1.602, allocations: 92.11 kB / 1.063 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.602, allocations: 0 / 1.063 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008212/1.603, allocations: 277.3 kB / 1.063 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006756/1.604, allocations: 1.396 MB / 1.065 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.604, allocations: 7.984 kB / 1.065 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/1.604, allocations: 28.09 kB / 1.065 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/1.605, allocations: 71.91 kB / 1.065 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005905/1.605, allocations: 0.557 MB / 1.065 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/1.606, allocations: 39.83 kB / 1.066 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/1.606, allocations: 14.92 kB / 1.066 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/1.606, allocations: 4 kB / 1.066 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005639/1.607, allocations: 196.1 kB / 1.066 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.607, allocations: 4 kB / 1.066 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/1.607, allocations: 4 kB / 1.066 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/1.607, allocations: 75.89 kB / 1.066 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/1.607, allocations: 15.97 kB / 1.066 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/1.608, allocations: 31.83 kB / 1.066 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/1.608, allocations: 15 kB / 1.066 GB, free: 7.449 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001794/1.608, allocations: 118.2 kB / 1.066 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.363e-05/1.608, allocations: 23.72 kB / 1.066 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/1.608, allocations: 28.16 kB / 1.066 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.608, allocations: 0 / 1.066 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.608, allocations: 3.906 kB / 1.066 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/1.608, allocations: 3.984 kB / 1.066 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/1.61, allocations: 0.6449 MB / 1.067 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.61, allocations: 0 / 1.067 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/1.61, allocations: 47.91 kB / 1.067 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000194/1.611, allocations: 32.34 kB / 1.067 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/1.611, allocations: 0 / 1.067 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/1.612, allocations: 1.268 MB / 1.068 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.612, allocations: 0 / 1.068 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007097/1.613, allocations: 333.8 kB / 1.068 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008241/1.614, allocations: 0.7068 MB / 1.069 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/1.614, allocations: 112.3 kB / 1.069 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/1.614, allocations: 3.938 kB / 1.069 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/1.614, allocations: 23.98 kB / 1.069 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/1.615, allocations: 11.92 kB / 1.069 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/1.615, allocations: 4 kB / 1.069 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002118/1.615, allocations: 155.7 kB / 1.069 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0026/1.617, allocations: 143.5 kB / 1.069 GB, free: 3.801 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002024/1.618, allocations: 95.25 kB / 1.07 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001011/1.619, allocations: 298.6 kB / 1.07 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.619, allocations: 5.875 kB / 1.07 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004093/1.619, allocations: 179 kB / 1.07 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/1.62, allocations: 54.27 kB / 1.07 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/1.621, allocations: 377.8 kB / 1.07 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007413/1.622, allocations: 0.8334 MB / 1.071 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of SimCode: time 1.163e-06/1.622, allocations: 0 / 1.071 GB, free: 2.051 MB / 0.6823 GB