Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.375/1.375, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001104/0.001104, allocations: 173.3 kB / 366.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.059/1.059, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0008341/0.0008341, allocations: 88.33 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1958/0.1967, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.6187, allocations: 116.3 MB / 0.9727 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.7769, allocations: 169.2 MB / 1.138 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.7772, allocations: 92.8 kB / 1.138 GB, free: 11.15 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.03657/0.8138, allocations: 16.68 MB / 1.154 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.8138, allocations: 12 kB / 1.154 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008191/0.8147, allocations: 115.5 kB / 1.154 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.815, allocations: 271.1 kB / 1.155 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.8151, allocations: 46.28 kB / 1.155 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.8151, allocations: 16 kB / 1.155 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004235/0.8156, allocations: 273.2 kB / 1.155 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.8161, allocations: 375.7 kB / 1.155 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8161, allocations: 0 / 1.155 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.8161, allocations: 3.906 kB / 1.155 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.8161, allocations: 24.64 kB / 1.155 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.8182, allocations: 2.049 MB / 1.157 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.8186, allocations: 166.7 kB / 1.158 GB, free: 6.645 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.8188, allocations: 129.1 kB / 1.158 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.8189, allocations: 0 / 1.158 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.8189, allocations: 38.56 kB / 1.158 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.8189, allocations: 0 / 1.158 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of matching and sorting (n=17): time 0.0002891/0.8192, allocations: 160 kB / 1.158 GB, free: 6.309 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.8192, allocations: 59.39 kB / 1.158 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.8194, allocations: 173.8 kB / 1.158 GB, free: 6.062 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.8194, allocations: 25.7 kB / 1.158 GB, free: 6.031 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.8195, allocations: 179.7 kB / 1.158 GB, free: 5.848 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.8195, allocations: 59.11 kB / 1.158 GB, free: 5.789 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/0.8195, allocations: 0 / 1.158 GB, free: 5.789 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.8196, allocations: 326.8 kB / 1.159 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.8197, allocations: 59.98 kB / 1.159 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.8199, allocations: 157.7 kB / 1.159 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.82, allocations: 79.98 kB / 1.159 GB, free: 5.121 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.82, allocations: 11.91 kB / 1.159 GB, free: 5.109 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003328/0.8203, allocations: 228.3 kB / 1.159 GB, free: 4.883 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003997/0.8208, allocations: 1.316 MB / 1.16 GB, free: 3.465 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.8208, allocations: 7.984 kB / 1.16 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8208, allocations: 8 kB / 1.16 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.8212, allocations: 67.91 kB / 1.16 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007807/0.822, allocations: 1.256 MB / 1.162 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.8222, allocations: 35.61 kB / 1.162 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.8222, allocations: 12 kB / 1.162 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-06/0.8223, allocations: 7.938 kB / 1.162 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002718/0.8225, allocations: 179.7 kB / 1.162 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.8225, allocations: 4 kB / 1.162 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/0.8226, allocations: 4 kB / 1.162 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.8229, allocations: 76.34 kB / 1.162 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007048/0.8237, allocations: 1.254 MB / 1.163 GB, free: 344 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.8238, allocations: 27.98 kB / 1.163 GB, free: 316 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.8239, allocations: 8 kB / 1.163 GB, free: 308 kB / 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.127e-05/0.824, allocations: 122.2 kB / 1.163 GB, free: 180 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.824, allocations: 19.72 kB / 1.163 GB, free: 160 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.8241, allocations: 29.56 kB / 1.163 GB, free: 136 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.8241, allocations: 0 / 1.163 GB, free: 136 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.8241, allocations: 0 / 1.163 GB, free: 136 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8241, allocations: 4 kB / 1.163 GB, free: 132 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007493/0.8248, allocations: 0.6458 MB / 1.164 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8248, allocations: 0 / 1.164 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.8252, allocations: 63.98 kB / 1.164 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.8253, allocations: 4 kB / 1.164 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.8253, allocations: 0 / 1.164 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.8253, allocations: 8 kB / 1.164 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8253, allocations: 0 / 1.164 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002741/0.8256, allocations: 352 kB / 1.164 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003561/0.8259, allocations: 0.7104 MB / 1.165 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.826, allocations: 104.8 kB / 1.165 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.826, allocations: 4 kB / 1.165 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.8262, allocations: 15.98 kB / 1.165 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.8263, allocations: 19.83 kB / 1.165 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.8263, allocations: 4 kB / 1.165 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.948e-05/0.8264, allocations: 135 kB / 1.165 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001661/0.828, allocations: 111.5 kB / 1.166 GB, free: 13.74 MB / 0.7761 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.474e-05/0.8281, allocations: 95.25 kB / 1.166 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008046/0.8289, allocations: 280.3 kB / 1.166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.829, allocations: 0 / 1.166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.8293, allocations: 91.42 kB / 1.166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.8296, allocations: 37.72 kB / 1.166 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.8302, allocations: 344.8 kB / 1.166 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.8306, allocations: 0.8139 MB / 1.167 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of SimCode: time 2.7e-07/0.8306, allocations: 0 / 1.167 GB, free: 12.03 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)