Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 249.4 MB / 256.7 MB, free: 6.941 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.00115/0.00115, allocations: 184.3 kB / 316 MB, free: 3.578 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.186/1.186, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.0008677/0.0008679, allocations: 101.3 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3414/0.3423, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.5051, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4881/0.9932, allocations: 163 MB / 1.044 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.9935, allocations: 83.02 kB / 1.044 GB, free: 10.02 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.03697/1.03, allocations: 16.68 MB / 1.06 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/1.031, allocations: 8 kB / 1.06 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007948/1.031, allocations: 119.4 kB / 1.06 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/1.032, allocations: 277.4 kB / 1.061 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/1.032, allocations: 38.36 kB / 1.061 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/1.032, allocations: 16 kB / 1.061 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003958/1.032, allocations: 274.6 kB / 1.061 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/1.033, allocations: 370.8 kB / 1.061 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.033, allocations: 4 kB / 1.061 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/1.033, allocations: 3.938 kB / 1.061 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/1.033, allocations: 20.64 kB / 1.061 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/1.035, allocations: 2.056 MB / 1.063 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/1.035, allocations: 168.9 kB / 1.063 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/1.035, allocations: 122.2 kB / 1.064 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/1.035, allocations: 3.938 kB / 1.064 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/1.035, allocations: 37.69 kB / 1.064 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/1.035, allocations: 0 / 1.064 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0003512/1.036, allocations: 156.6 kB / 1.064 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/1.036, allocations: 55.41 kB / 1.064 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/1.036, allocations: 171.5 kB / 1.064 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.036, allocations: 25.7 kB / 1.064 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/1.036, allocations: 189.9 kB / 1.064 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/1.036, allocations: 54.27 kB / 1.064 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.709e-06/1.036, allocations: 0 / 1.064 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.551e-05/1.036, allocations: 334 kB / 1.065 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/1.036, allocations: 53.86 kB / 1.065 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/1.036, allocations: 172.3 kB / 1.065 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/1.037, allocations: 80.92 kB / 1.065 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.037, allocations: 0 / 1.065 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003247/1.037, allocations: 239.4 kB / 1.065 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003725/1.037, allocations: 1.312 MB / 1.066 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.037, allocations: 4 kB / 1.066 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.037, allocations: 4 kB / 1.066 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/1.038, allocations: 67.89 kB / 1.066 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/1.039, allocations: 1.266 MB / 1.068 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/1.039, allocations: 31.84 kB / 1.068 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/1.039, allocations: 8 kB / 1.068 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-06/1.039, allocations: 4 kB / 1.068 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002881/1.039, allocations: 189.2 kB / 1.068 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.039, allocations: 7.984 kB / 1.068 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.87e-06/1.039, allocations: 4 kB / 1.068 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/1.04, allocations: 71.89 kB / 1.068 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008647/1.041, allocations: 1.254 MB / 1.069 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/1.041, allocations: 23.83 kB / 1.069 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/1.041, allocations: 10.44 kB / 1.069 GB, free: 3.176 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 9.715e-05/1.041, allocations: 120.9 kB / 1.069 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/1.041, allocations: 15.81 kB / 1.069 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/1.041, allocations: 21.34 kB / 1.069 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.041, allocations: 7.984 kB / 1.069 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.041, allocations: 0 / 1.069 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.041, allocations: 11.78 kB / 1.069 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/1.042, allocations: 0.6401 MB / 1.07 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.042, allocations: 3.984 kB / 1.07 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/1.042, allocations: 55.84 kB / 1.07 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/1.042, allocations: 8.156 kB / 1.07 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/1.042, allocations: 0 / 1.07 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/1.042, allocations: 8 kB / 1.07 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.042, allocations: 0 / 1.07 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000288/1.043, allocations: 345 kB / 1.07 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004533/1.043, allocations: 0.7114 MB / 1.071 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/1.043, allocations: 116.3 kB / 1.071 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/1.043, allocations: 7.906 kB / 1.071 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/1.043, allocations: 7.984 kB / 1.071 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/1.043, allocations: 15.36 kB / 1.071 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/1.043, allocations: 4 kB / 1.071 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001256/1.044, allocations: 142.5 kB / 1.071 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001568/1.045, allocations: 111.5 kB / 1.071 GB, free: 0.8086 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.0001285/1.045, allocations: 107.2 kB / 1.072 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007958/1.046, allocations: 271.9 kB / 1.072 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.046, allocations: 4.625 kB / 1.072 GB, free: 500 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/1.046, allocations: 87.91 kB / 1.072 GB, free: 428 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/1.047, allocations: 33.73 kB / 1.072 GB, free: 404 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/1.047, allocations: 349.1 kB / 1.072 GB, free: 56 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/1.048, allocations: 0.8045 MB / 1.073 GB, free: 15.23 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/1.048, allocations: 0 / 1.073 GB, free: 15.23 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)