Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.838/1.838, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009787/0.0009789, allocations: 178.5 kB / 490.8 MB, free: 1.977 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.133/1.133, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008623/0.0008623, allocations: 95.11 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.402/0.4029, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.5763, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/1.062, allocations: 180.6 MB / 1.388 GB, free: 16.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/1.063, allocations: 89.59 kB / 1.388 GB, free: 16.2 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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.03906/1.102, allocations: 20.84 MB / 1.408 GB, free: 19.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/1.102, allocations: 8 kB / 1.408 GB, free: 19.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007538/1.103, allocations: 115.5 kB / 1.409 GB, free: 19.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/1.103, allocations: 277.5 kB / 1.409 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/1.103, allocations: 38.36 kB / 1.409 GB, free: 18.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/1.103, allocations: 16 kB / 1.409 GB, free: 18.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003545/1.103, allocations: 273.4 kB / 1.409 GB, free: 18.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/1.104, allocations: 373.7 kB / 1.409 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.104, allocations: 4 kB / 1.409 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/1.104, allocations: 0 / 1.409 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/1.104, allocations: 24.64 kB / 1.41 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/1.105, allocations: 2.043 MB / 1.412 GB, free: 16.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/1.106, allocations: 180.7 kB / 1.412 GB, free: 16.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/1.106, allocations: 119.6 kB / 1.412 GB, free: 16.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/1.106, allocations: 320 / 1.412 GB, free: 16.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.054e-05/1.106, allocations: 38.47 kB / 1.412 GB, free: 16.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 9.31e-07/1.106, allocations: 0 / 1.412 GB, free: 16.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002558/1.106, allocations: 158.4 kB / 1.412 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.299e-05/1.106, allocations: 55.41 kB / 1.412 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/1.106, allocations: 172.1 kB / 1.412 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/1.106, allocations: 25.7 kB / 1.412 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/1.107, allocations: 189.5 kB / 1.412 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/1.107, allocations: 57.67 kB / 1.412 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/1.107, allocations: 0 / 1.412 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/1.107, allocations: 333.6 kB / 1.413 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/1.107, allocations: 55.42 kB / 1.413 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/1.107, allocations: 161.5 kB / 1.413 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/1.107, allocations: 83.14 kB / 1.413 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.107, allocations: 0 / 1.413 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003274/1.107, allocations: 237 kB / 1.413 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003929/1.108, allocations: 1.313 MB / 1.415 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.108, allocations: 4 kB / 1.415 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/1.108, allocations: 4 kB / 1.415 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/1.108, allocations: 63.91 kB / 1.415 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007798/1.109, allocations: 1.257 MB / 1.416 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/1.109, allocations: 35.83 kB / 1.416 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/1.109, allocations: 14.88 kB / 1.416 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.557e-06/1.109, allocations: 0 / 1.416 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002583/1.109, allocations: 184.3 kB / 1.416 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/1.109, allocations: 8.062 kB / 1.416 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.91e-06/1.109, allocations: 4 kB / 1.416 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/1.11, allocations: 71.89 kB / 1.416 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006648/1.111, allocations: 1.253 MB / 1.417 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/1.111, allocations: 27.73 kB / 1.417 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/1.111, allocations: 11.75 kB / 1.417 GB, free: 10.2 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.635e-05/1.111, allocations: 122.3 kB / 1.418 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/1.111, allocations: 19.72 kB / 1.418 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/1.111, allocations: 21.22 kB / 1.418 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.111, allocations: 7.938 kB / 1.418 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/1.111, allocations: 0 / 1.418 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.111, allocations: 3.984 kB / 1.418 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/1.112, allocations: 0.6428 MB / 1.418 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.112, allocations: 0 / 1.418 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/1.112, allocations: 59.8 kB / 1.418 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/1.112, allocations: 8 kB / 1.418 GB, free: 9.328 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/1.112, allocations: 4.156 kB / 1.418 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.112, allocations: 4 kB / 1.418 GB, free: 9.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.112, allocations: 0 / 1.418 GB, free: 9.32 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002721/1.112, allocations: 343.5 kB / 1.419 GB, free: 8.961 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003309/1.113, allocations: 0.7082 MB / 1.419 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/1.113, allocations: 123.6 kB / 1.419 GB, free: 8.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/1.113, allocations: 4 kB / 1.419 GB, free: 8.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/1.113, allocations: 8 kB / 1.419 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/1.113, allocations: 11.97 kB / 1.419 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.113, allocations: 11.06 kB / 1.419 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.157e-05/1.113, allocations: 134.1 kB / 1.42 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001523/1.115, allocations: 119.4 kB / 1.42 GB, free: 7.828 MB / 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 9.188e-05/1.115, allocations: 107.2 kB / 1.42 GB, free: 7.715 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000734/1.115, allocations: 265.8 kB / 1.42 GB, free: 7.516 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.115, allocations: 8 kB / 1.42 GB, free: 7.508 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/1.116, allocations: 86.95 kB / 1.42 GB, free: 7.438 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/1.116, allocations: 36.12 kB / 1.42 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/1.117, allocations: 349 kB / 1.421 GB, free: 7.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/1.117, allocations: 0.8092 MB / 1.421 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of SimCode: time 1.442e-06/1.117, allocations: 0 / 1.421 GB, free: 6.242 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)