Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.825/1.825, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 181.2 kB / 487 MB, free: 5.348 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 221.3 MB / 0.7819 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008732/0.0008732, allocations: 96.67 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4169/0.4178, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.6033, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5206/1.124, allocations: 179.8 MB / 1.381 GB, free: 13.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/1.124, allocations: 90.61 kB / 1.381 GB, free: 13.08 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Interfaces/Source.mo:28:9-28: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 9.1.1-maint.9.1.x/Electrical/DC/Conversion/DCDCConverter.mo:26:3-26: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 9.1.1-maint.9.1.x/Electrical/DC/Conversion/DCDCConverter.mo:27:3-27: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 9.1.1-maint.9.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.04171/1.166, allocations: 20.83 MB / 1.401 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/1.166, allocations: 11.94 kB / 1.401 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007973/1.167, allocations: 107.5 kB / 1.401 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/1.167, allocations: 287 kB / 1.402 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/1.167, allocations: 42.36 kB / 1.402 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/1.167, allocations: 16 kB / 1.402 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003971/1.168, allocations: 278.5 kB / 1.402 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/1.168, allocations: 367.3 kB / 1.402 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.168, allocations: 0 / 1.402 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/1.168, allocations: 11.91 kB / 1.402 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/1.168, allocations: 23.58 kB / 1.402 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/1.17, allocations: 2.044 MB / 1.404 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/1.17, allocations: 172.1 kB / 1.405 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/1.171, allocations: 119.8 kB / 1.405 GB, free: 8.508 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/1.171, allocations: 3.906 kB / 1.405 GB, free: 8.504 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/1.171, allocations: 33.81 kB / 1.405 GB, free: 8.465 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/1.171, allocations: 0 / 1.405 GB, free: 8.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003129/1.171, allocations: 165.2 kB / 1.405 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/1.171, allocations: 59.41 kB / 1.405 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/1.171, allocations: 178.8 kB / 1.405 GB, free: 8.094 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/1.171, allocations: 25.7 kB / 1.405 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/1.171, allocations: 177.3 kB / 1.405 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/1.171, allocations: 62.41 kB / 1.405 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/1.171, allocations: 0 / 1.405 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/1.171, allocations: 329.6 kB / 1.406 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/1.172, allocations: 53.42 kB / 1.406 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/1.172, allocations: 159.5 kB / 1.406 GB, free: 7.305 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/1.172, allocations: 92.11 kB / 1.406 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.172, allocations: 0 / 1.406 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003156/1.172, allocations: 237.1 kB / 1.406 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003582/1.173, allocations: 1.314 MB / 1.407 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.173, allocations: 0 / 1.407 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.173, allocations: 8 kB / 1.407 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/1.173, allocations: 71.89 kB / 1.408 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007892/1.174, allocations: 1.252 MB / 1.409 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/1.174, allocations: 35.67 kB / 1.409 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/1.174, allocations: 8 kB / 1.409 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-06/1.174, allocations: 4 kB / 1.409 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002577/1.174, allocations: 188.3 kB / 1.409 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/1.174, allocations: 4 kB / 1.409 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/1.174, allocations: 4 kB / 1.409 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/1.175, allocations: 63.91 kB / 1.409 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007068/1.175, allocations: 1.264 MB / 1.41 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/1.176, allocations: 31.98 kB / 1.41 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/1.176, allocations: 8 kB / 1.41 GB, free: 2.586 MB / 0.8386 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 7.837e-05/1.176, allocations: 115.9 kB / 1.41 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/1.176, allocations: 19.72 kB / 1.41 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/1.176, allocations: 24.08 kB / 1.41 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.176, allocations: 4 kB / 1.41 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/1.176, allocations: 0 / 1.41 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/1.176, allocations: 0 / 1.41 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006922/1.177, allocations: 0.6537 MB / 1.411 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.177, allocations: 4 kB / 1.411 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/1.177, allocations: 60 kB / 1.411 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.177, allocations: 4 kB / 1.411 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/1.177, allocations: 0 / 1.411 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/1.177, allocations: 4 kB / 1.411 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.177, allocations: 3.984 kB / 1.411 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002848/1.177, allocations: 343.2 kB / 1.412 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000347/1.178, allocations: 0.714 MB / 1.412 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/1.178, allocations: 108.7 kB / 1.412 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/1.178, allocations: 0 / 1.412 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/1.178, allocations: 11.98 kB / 1.412 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/1.178, allocations: 19.05 kB / 1.412 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/1.178, allocations: 7.906 kB / 1.412 GB, free: 464 kB / 0.8386 GB Notification: Performance of sort global known variables: time 9.299e-05/1.178, allocations: 138.3 kB / 1.412 GB, free: 344 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001547/1.18, allocations: 115.5 kB / 1.413 GB, free: 228 kB / 0.8386 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.0001008/1.18, allocations: 99.25 kB / 1.413 GB, free: 116 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007545/1.18, allocations: 280.5 kB / 1.413 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.18, allocations: 4 kB / 1.413 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/1.181, allocations: 85.09 kB / 1.413 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/1.181, allocations: 36.48 kB / 1.413 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/1.182, allocations: 348.1 kB / 1.413 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/1.182, allocations: 0.8054 MB / 1.414 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/1.182, allocations: 0 / 1.414 GB, free: 14.64 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)