Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.Lines.Examples.DCLine,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",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.301/2.301, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.001662/0.001662, allocations: 190.9 kB / 315.1 MB, free: 4.32 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.977/1.977, allocations: 205.1 MB / 0.5658 GB, free: 336 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.001401/0.0014, allocations: 91.33 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.492/0.4935, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.7237, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7469/1.471, allocations: 174.2 MB / 1.054 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004294/1.471, allocations: 87.7 kB / 1.054 GB, free: 0.7891 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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/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/PartialTwoPortRLC.mo:18:3-18: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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.1645/1.636, allocations: 37.18 MB / 1.09 GB, free: 2.105 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/1.636, allocations: 12 kB / 1.09 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00698/1.643, allocations: 0.6176 MB / 1.091 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/1.645, allocations: 0.5923 MB / 1.091 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/1.645, allocations: 16 kB / 1.091 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/1.645, allocations: 35.98 kB / 1.091 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002169/1.647, allocations: 0.7181 MB / 1.092 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/1.65, allocations: 0.8061 MB / 1.093 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/1.65, allocations: 7.938 kB / 1.093 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/1.65, allocations: 3.938 kB / 1.093 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.383e-05/1.65, allocations: 45.16 kB / 1.093 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008171/1.658, allocations: 3.442 MB / 1.096 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/1.659, allocations: 280.4 kB / 1.096 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/1.66, allocations: 172.5 kB / 1.097 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/1.66, allocations: 4 kB / 1.097 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/1.66, allocations: 37.62 kB / 1.097 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 3.226e-06/1.66, allocations: 0 / 1.097 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.005067/1.665, allocations: 1.149 MB / 1.098 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/1.665, allocations: 136.5 kB / 1.098 GB, free: 11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008391/1.666, allocations: 389.5 kB / 1.098 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/1.666, allocations: 25.7 kB / 1.098 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/1.666, allocations: 296 kB / 1.098 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/1.666, allocations: 137.9 kB / 1.099 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/1.666, allocations: 4 kB / 1.099 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001985/1.667, allocations: 366.9 kB / 1.099 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/1.667, allocations: 182.4 kB / 1.099 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/1.668, allocations: 312.8 kB / 1.099 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/1.669, allocations: 229.6 kB / 1.1 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.669, allocations: 4 kB / 1.1 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002901/1.671, allocations: 0.7333 MB / 1.1 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007117/1.672, allocations: 1.224 MB / 1.102 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.672, allocations: 4 kB / 1.102 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/1.674, allocations: 230.6 kB / 1.102 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.675, allocations: 139.1 kB / 1.102 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/1.686, allocations: 5.705 MB / 1.107 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/1.688, allocations: 52.05 kB / 1.108 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/1.688, allocations: 19.62 kB / 1.108 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.688, allocations: 4 kB / 1.108 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003943/1.692, allocations: 1.034 MB / 1.109 GB, free: 192 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/1.692, allocations: 4 kB / 1.109 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009695/1.693, allocations: 134.6 kB / 1.109 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/1.695, allocations: 151.1 kB / 1.109 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/1.707, allocations: 7.458 MB / 1.116 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.708, allocations: 52.08 kB / 1.116 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.709, allocations: 27.8 kB / 1.116 GB, free: 7.945 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003976/1.709, allocations: 125.4 kB / 1.116 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/1.709, allocations: 59.25 kB / 1.116 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/1.71, allocations: 69.03 kB / 1.116 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.71, allocations: 4 kB / 1.116 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.71, allocations: 0 / 1.116 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/1.71, allocations: 4 kB / 1.116 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/1.712, allocations: 0.572 MB / 1.117 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.712, allocations: 0 / 1.117 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.714, allocations: 114.2 kB / 1.117 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002474/1.716, allocations: 235.3 kB / 1.117 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/1.716, allocations: 0 / 1.117 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/1.731, allocations: 7.93 MB / 1.125 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.731, allocations: 0 / 1.125 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003905/1.735, allocations: 0.742 MB / 1.126 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004303/1.74, allocations: 1.145 MB / 1.127 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007879/1.74, allocations: 180.3 kB / 1.127 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/1.741, allocations: 3.906 kB / 1.127 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.742, allocations: 47.95 kB / 1.127 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/1.743, allocations: 23.95 kB / 1.127 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-05/1.743, allocations: 12 kB / 1.127 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0008783/1.744, allocations: 306.9 kB / 1.127 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007567/1.751, allocations: 260 kB / 1.128 GB, free: 11.49 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005888/1.752, allocations: 111.2 kB / 1.128 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006705/1.759, allocations: 1.699 MB / 1.13 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/1.759, allocations: 4 kB / 1.13 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/1.762, allocations: 0.8541 MB / 1.13 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/1.765, allocations: 176 kB / 1.131 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/1.771, allocations: 0.9164 MB / 1.131 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/1.773, allocations: 1.025 MB / 1.132 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of SimCode: time 2.414e-06/1.773, allocations: 0 / 1.132 GB, free: 6.488 MB / 0.7448 GB