Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.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.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",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.284/2.284, allocations: 248.6 MB / 255.9 MB, free: 328 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 185.5 kB / 315.1 MB, free: 7.742 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.225/2.225, allocations: 205.1 MB / 0.5658 GB, free: 25.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 83.08 kB / 0.67 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3175/0.3191, allocations: 112.4 MB / 0.7797 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.9086, allocations: 106.2 MB / 0.8835 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7672/1.676, allocations: 161.7 MB / 1.041 GB, free: 61.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/1.676, allocations: 84.25 kB / 1.042 GB, free: 61.66 MB / 0.6823 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/DC/Conversion/DCDCConverter.mo:24:3-24:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Conversion/DCDCConverter.mo:25:3-25:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_p.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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.06881/1.745, allocations: 16.69 MB / 1.058 GB, free: 59.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.745, allocations: 11.72 kB / 1.058 GB, free: 59.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/1.747, allocations: 111 kB / 1.058 GB, free: 59.78 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/1.747, allocations: 278.9 kB / 1.058 GB, free: 59.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.21e-05/1.747, allocations: 38.11 kB / 1.058 GB, free: 59.51 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/1.747, allocations: 15.62 kB / 1.058 GB, free: 59.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007651/1.748, allocations: 283.7 kB / 1.059 GB, free: 59.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008213/1.749, allocations: 372.7 kB / 1.059 GB, free: 59.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/1.749, allocations: 0 / 1.059 GB, free: 59.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/1.749, allocations: 0 / 1.059 GB, free: 59.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/1.749, allocations: 27.16 kB / 1.059 GB, free: 59.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/1.753, allocations: 2.049 MB / 1.061 GB, free: 57.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/1.753, allocations: 168.2 kB / 1.061 GB, free: 57.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/1.754, allocations: 128.3 kB / 1.061 GB, free: 57.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/1.754, allocations: 3.875 kB / 1.061 GB, free: 57.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/1.754, allocations: 30.56 kB / 1.061 GB, free: 57.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 2.645e-06/1.754, allocations: 0 / 1.061 GB, free: 57.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.000485/1.754, allocations: 153.6 kB / 1.061 GB, free: 57.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/1.754, allocations: 58.36 kB / 1.061 GB, free: 57.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/1.755, allocations: 173.6 kB / 1.062 GB, free: 57.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/1.755, allocations: 29.7 kB / 1.062 GB, free: 57.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/1.755, allocations: 178 kB / 1.062 GB, free: 57.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/1.755, allocations: 59.94 kB / 1.062 GB, free: 57.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/1.755, allocations: 0 / 1.062 GB, free: 57.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.003e-05/1.755, allocations: 332.2 kB / 1.062 GB, free: 57.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/1.755, allocations: 56.2 kB / 1.062 GB, free: 57.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/1.755, allocations: 168.7 kB / 1.062 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/1.756, allocations: 85.53 kB / 1.062 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.756, allocations: 3.906 kB / 1.062 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000902/1.757, allocations: 238.2 kB / 1.063 GB, free: 56.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003002/1.757, allocations: 1.307 MB / 1.064 GB, free: 55.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.757, allocations: 3.906 kB / 1.064 GB, free: 55.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/1.757, allocations: 7.812 kB / 1.064 GB, free: 55.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/1.758, allocations: 71.88 kB / 1.064 GB, free: 55.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/1.759, allocations: 1.256 MB / 1.065 GB, free: 54.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/1.76, allocations: 39.05 kB / 1.065 GB, free: 54.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/1.76, allocations: 11.69 kB / 1.065 GB, free: 54.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/1.76, allocations: 3.906 kB / 1.065 GB, free: 54.14 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004613/1.76, allocations: 183.2 kB / 1.065 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.76, allocations: 7.938 kB / 1.065 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/1.76, allocations: 7.688 kB / 1.065 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008396/1.761, allocations: 64.7 kB / 1.066 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009691/1.762, allocations: 1.257 MB / 1.067 GB, free: 52.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/1.762, allocations: 23.17 kB / 1.067 GB, free: 52.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/1.762, allocations: 15.28 kB / 1.067 GB, free: 52.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001407/1.763, allocations: 119.2 kB / 1.067 GB, free: 52.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/1.763, allocations: 19.53 kB / 1.067 GB, free: 52.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-05/1.763, allocations: 24.17 kB / 1.067 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.763, allocations: 0 / 1.067 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/1.763, allocations: 3.938 kB / 1.067 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.763, allocations: 3.906 kB / 1.067 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.764, allocations: 0.6451 MB / 1.068 GB, free: 52.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.764, allocations: 0 / 1.068 GB, free: 52.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008111/1.765, allocations: 57.55 kB / 1.068 GB, free: 52.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/1.765, allocations: 4 kB / 1.068 GB, free: 52.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/1.765, allocations: 11.03 kB / 1.068 GB, free: 52.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/1.765, allocations: 0 / 1.068 GB, free: 52.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.765, allocations: 3.906 kB / 1.068 GB, free: 52.27 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004307/1.765, allocations: 343.3 kB / 1.068 GB, free: 51.99 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004595/1.766, allocations: 0.7237 MB / 1.069 GB, free: 51.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/1.766, allocations: 110.7 kB / 1.069 GB, free: 51.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/1.766, allocations: 3.906 kB / 1.069 GB, free: 51.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/1.766, allocations: 14.95 kB / 1.069 GB, free: 51.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/1.766, allocations: 10.91 kB / 1.069 GB, free: 51.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.868e-05/1.766, allocations: 14.69 kB / 1.069 GB, free: 51.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002038/1.767, allocations: 134.5 kB / 1.069 GB, free: 51.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003899/1.771, allocations: 109.5 kB / 1.069 GB, free: 51.12 MB / 0.6823 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002319/1.771, allocations: 105.2 kB / 1.069 GB, free: 51.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002212/1.773, allocations: 271.9 kB / 1.069 GB, free: 51.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/1.773, allocations: 4.312 kB / 1.069 GB, free: 51.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/1.774, allocations: 86.84 kB / 1.07 GB, free: 51 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/1.775, allocations: 30.5 kB / 1.07 GB, free: 51 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/1.777, allocations: 340.5 kB / 1.07 GB, free: 50.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/1.777, allocations: 0.804 MB / 1.071 GB, free: 50.13 MB / 0.6823 GB Notification: Performance of SimCode: time 1.392e-06/1.777, allocations: 0 / 1.071 GB, free: 50.13 MB / 0.6823 GB