Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.292/1.292, allocations: 285.5 MB / 292.8 MB, free: 10.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009159/0.0009158, allocations: 179.3 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9994/0.9994, allocations: 205.1 MB / 0.6195 GB, free: 11.94 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000753/0.0007527, allocations: 91.16 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1709/0.1717, allocations: 121.4 MB / 0.8511 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.5756, allocations: 115.3 MB / 0.9637 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.725, allocations: 168.2 MB / 1.128 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.7252, allocations: 84.94 kB / 1.128 GB, free: 3.656 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.03487/0.7601, allocations: 16.7 MB / 1.144 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.7602, allocations: 8.5 kB / 1.144 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007802/0.761, allocations: 107.5 kB / 1.145 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.7613, allocations: 279.1 kB / 1.145 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.7613, allocations: 38.36 kB / 1.145 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.7614, allocations: 16 kB / 1.145 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003993/0.7618, allocations: 281.2 kB / 1.145 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.7623, allocations: 367.7 kB / 1.145 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.7623, allocations: 0 / 1.145 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.7623, allocations: 3.906 kB / 1.145 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.7624, allocations: 28.64 kB / 1.146 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.7644, allocations: 2.054 MB / 1.148 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.7648, allocations: 166.8 kB / 1.148 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.765, allocations: 129 kB / 1.148 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.765, allocations: 4 kB / 1.148 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.7651, allocations: 30.56 kB / 1.148 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.7651, allocations: 0 / 1.148 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=17): time 0.000291/0.7654, allocations: 157.4 kB / 1.148 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.7654, allocations: 51.41 kB / 1.148 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.7655, allocations: 179.4 kB / 1.148 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.7656, allocations: 29.69 kB / 1.148 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.7657, allocations: 179.7 kB / 1.148 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.7657, allocations: 55.11 kB / 1.148 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.7657, allocations: 0 / 1.148 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.7658, allocations: 330.8 kB / 1.149 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/0.7659, allocations: 59.98 kB / 1.149 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.766, allocations: 157.7 kB / 1.149 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.7662, allocations: 87.92 kB / 1.149 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7662, allocations: 3.906 kB / 1.149 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003251/0.7665, allocations: 231.8 kB / 1.149 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003832/0.7669, allocations: 1.312 MB / 1.151 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7669, allocations: 4 kB / 1.151 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7669, allocations: 8 kB / 1.151 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.7673, allocations: 74.02 kB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007966/0.7682, allocations: 1.25 MB / 1.152 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.7684, allocations: 35.84 kB / 1.152 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.7684, allocations: 14.06 kB / 1.152 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-06/0.7684, allocations: 7.938 kB / 1.152 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002673/0.7687, allocations: 186.6 kB / 1.152 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.7687, allocations: 0 / 1.152 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.7687, allocations: 8 kB / 1.152 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.7691, allocations: 67.89 kB / 1.152 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006756/0.7698, allocations: 1.27 MB / 1.153 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.7699, allocations: 23.83 kB / 1.153 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.77, allocations: 16.16 kB / 1.153 GB, free: 8.93 MB / 0.7605 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 8.254e-05/0.7701, allocations: 112.9 kB / 1.154 GB, free: 8.812 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.7701, allocations: 23.72 kB / 1.154 GB, free: 8.789 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.7702, allocations: 25.58 kB / 1.154 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7702, allocations: 0 / 1.154 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.7702, allocations: 4 kB / 1.154 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7702, allocations: 0 / 1.154 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.7709, allocations: 0.644 MB / 1.154 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.7709, allocations: 0 / 1.154 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.7713, allocations: 68 kB / 1.154 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.7713, allocations: 0 / 1.154 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.7713, allocations: 4 kB / 1.154 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7713, allocations: 0 / 1.154 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.7713, allocations: 4 kB / 1.154 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002773/0.7716, allocations: 341.5 kB / 1.155 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003421/0.772, allocations: 0.7151 MB / 1.155 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.772, allocations: 112.8 kB / 1.155 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.7721, allocations: 0 / 1.155 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.7722, allocations: 11.98 kB / 1.155 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.7723, allocations: 15.89 kB / 1.155 GB, free: 6.637 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.7723, allocations: 12 kB / 1.155 GB, free: 6.625 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.256e-05/0.7724, allocations: 136.2 kB / 1.156 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001519/0.7739, allocations: 119.5 kB / 1.156 GB, free: 6.375 MB / 0.7605 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 9.944e-05/0.774, allocations: 99.19 kB / 1.156 GB, free: 6.266 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007399/0.7748, allocations: 268 kB / 1.156 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7748, allocations: 4.375 kB / 1.156 GB, free: 6.004 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.7751, allocations: 87.84 kB / 1.156 GB, free: 5.918 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.7754, allocations: 39.62 kB / 1.156 GB, free: 5.883 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.776, allocations: 343.1 kB / 1.157 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.7764, allocations: 0.8101 MB / 1.157 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of SimCode: time 2.3e-07/0.7764, allocations: 0 / 1.157 GB, free: 4.676 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)