Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.239/2.239, allocations: 248.6 MB / 255.9 MB, free: 7.086 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.001671/0.00167, allocations: 188.9 kB / 315.1 MB, free: 4.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.1 MB / 0.5658 GB, free: 416 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.001247/0.001246, allocations: 98.92 kB / 0.67 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4713/0.4726, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.6887, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7536/1.442, allocations: 159.9 MB / 1.04 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/1.443, allocations: 88.14 kB / 1.04 GB, free: 14.42 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);. [/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);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.07678/1.52, allocations: 17.96 MB / 1.057 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.52, allocations: 8 kB / 1.057 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/1.521, allocations: 111.4 kB / 1.057 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/1.523, allocations: 334.9 kB / 1.058 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/1.523, allocations: 38.48 kB / 1.058 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/1.523, allocations: 23.91 kB / 1.058 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001219/1.524, allocations: 328.9 kB / 1.058 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/1.525, allocations: 440 kB / 1.058 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.526, allocations: 4 kB / 1.058 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/1.526, allocations: 0 / 1.058 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/1.526, allocations: 28.75 kB / 1.058 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004364/1.53, allocations: 2.16 MB / 1.061 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008714/1.531, allocations: 226.2 kB / 1.061 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/1.531, allocations: 134 kB / 1.061 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/1.532, allocations: 3.984 kB / 1.061 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/1.532, allocations: 42 kB / 1.061 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 2.795e-06/1.532, allocations: 0 / 1.061 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001134/1.533, allocations: 246.7 kB / 1.061 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/1.533, allocations: 59.41 kB / 1.061 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/1.533, allocations: 176.5 kB / 1.061 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/1.533, allocations: 25.7 kB / 1.061 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.533, allocations: 196.6 kB / 1.062 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/1.533, allocations: 72.62 kB / 1.062 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/1.534, allocations: 4 kB / 1.062 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.534, allocations: 326.2 kB / 1.062 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/1.534, allocations: 66.17 kB / 1.062 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/1.534, allocations: 163.9 kB / 1.062 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/1.534, allocations: 93.86 kB / 1.062 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/1.535, allocations: 7.938 kB / 1.062 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001226/1.536, allocations: 319.3 kB / 1.063 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004805/1.536, allocations: 0.9654 MB / 1.064 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.536, allocations: 0 / 1.064 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007964/1.537, allocations: 103.5 kB / 1.064 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/1.538, allocations: 59.22 kB / 1.064 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/1.542, allocations: 1.944 MB / 1.066 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/1.543, allocations: 23.84 kB / 1.066 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/1.543, allocations: 19.64 kB / 1.066 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.543, allocations: 4 kB / 1.066 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001621/1.545, allocations: 236.7 kB / 1.066 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/1.545, allocations: 4 kB / 1.066 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008591/1.546, allocations: 74.73 kB / 1.066 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/1.547, allocations: 55.34 kB / 1.066 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004726/1.551, allocations: 1.413 MB / 1.067 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/1.552, allocations: 19.84 kB / 1.067 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/1.552, allocations: 11.38 kB / 1.067 GB, free: 5.379 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002541/1.552, allocations: 120.9 kB / 1.068 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/1.553, allocations: 19.81 kB / 1.068 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/1.553, allocations: 27.19 kB / 1.068 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.553, allocations: 3.938 kB / 1.068 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.553, allocations: 0 / 1.068 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/1.553, allocations: 11.98 kB / 1.068 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/1.555, allocations: 0.7246 MB / 1.068 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.555, allocations: 0 / 1.068 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/1.556, allocations: 39.41 kB / 1.068 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000662/1.556, allocations: 96.02 kB / 1.068 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/1.556, allocations: 7.938 kB / 1.068 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/1.561, allocations: 2.644 MB / 1.071 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.561, allocations: 0 / 1.071 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001156/1.562, allocations: 400.4 kB / 1.071 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001285/1.563, allocations: 0.7641 MB / 1.072 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/1.563, allocations: 119.9 kB / 1.072 GB, free: 388 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/1.564, allocations: 4 kB / 1.072 GB, free: 384 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/1.564, allocations: 8 kB / 1.072 GB, free: 376 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/1.564, allocations: 19.91 kB / 1.072 GB, free: 356 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/1.564, allocations: 11.78 kB / 1.072 GB, free: 348 kB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001889/1.564, allocations: 141.4 kB / 1.072 GB, free: 224 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002651/1.567, allocations: 159.4 kB / 1.073 GB, free: 64 kB / 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002345/1.567, allocations: 99.16 kB / 1.073 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00292/1.57, allocations: 0.563 MB / 1.073 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/1.57, allocations: 4.938 kB / 1.073 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/1.571, allocations: 332.6 kB / 1.074 GB, free: 15.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/1.572, allocations: 39.12 kB / 1.074 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/1.574, allocations: 414.5 kB / 1.074 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008172/1.575, allocations: 0.8373 MB / 1.075 GB, free: 13.86 MB / 0.698 GB Notification: Performance of SimCode: time 1.553e-06/1.575, allocations: 0 / 1.075 GB, free: 13.86 MB / 0.698 GB