Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.145/2.145, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001595/0.001595, allocations: 181.3 kB / 360.3 MB, free: 7.547 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.652/1.652, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001229/0.001229, allocations: 93.55 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2444/0.2457, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5591/0.8048, allocations: 115.2 MB / 0.9627 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2473/1.052, allocations: 168.1 MB / 1.127 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/1.053, allocations: 80.47 kB / 1.127 GB, free: 4.656 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.06395/1.117, allocations: 16.69 MB / 1.143 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.117, allocations: 12.5 kB / 1.143 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/1.118, allocations: 111.5 kB / 1.143 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/1.119, allocations: 279.1 kB / 1.144 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/1.119, allocations: 34.36 kB / 1.144 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/1.119, allocations: 16 kB / 1.144 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000812/1.12, allocations: 285.1 kB / 1.144 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008631/1.12, allocations: 363.7 kB / 1.144 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/1.12, allocations: 3.938 kB / 1.144 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/1.12, allocations: 3.906 kB / 1.144 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.189e-05/1.121, allocations: 28.64 kB / 1.144 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/1.124, allocations: 2.045 MB / 1.146 GB, free: 436 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/1.125, allocations: 172.5 kB / 1.146 GB, free: 256 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/1.125, allocations: 121 kB / 1.147 GB, free: 132 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/1.125, allocations: 7.984 kB / 1.147 GB, free: 124 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/1.125, allocations: 38.56 kB / 1.147 GB, free: 76 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 2.995e-06/1.125, allocations: 0 / 1.147 GB, free: 76 kB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0005179/1.126, allocations: 157.4 kB / 1.147 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/1.126, allocations: 51.41 kB / 1.147 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/1.126, allocations: 178.8 kB / 1.147 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/1.126, allocations: 25.7 kB / 1.147 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/1.126, allocations: 175.7 kB / 1.147 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/1.127, allocations: 62.02 kB / 1.147 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/1.127, allocations: 7.938 kB / 1.147 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.127, allocations: 330.8 kB / 1.148 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/1.127, allocations: 55.97 kB / 1.148 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/1.127, allocations: 161.7 kB / 1.148 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/1.127, allocations: 79.92 kB / 1.148 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.127, allocations: 7.906 kB / 1.148 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000588/1.128, allocations: 232.4 kB / 1.148 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005238/1.129, allocations: 1.311 MB / 1.149 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.129, allocations: 4 kB / 1.149 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.129, allocations: 4 kB / 1.149 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/1.13, allocations: 75.89 kB / 1.149 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/1.131, allocations: 1.254 MB / 1.151 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/1.131, allocations: 27.69 kB / 1.151 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/1.131, allocations: 16.14 kB / 1.151 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.158e-06/1.131, allocations: 8 kB / 1.151 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004991/1.132, allocations: 171.6 kB / 1.151 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.132, allocations: 7.938 kB / 1.151 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.132, allocations: 14.05 kB / 1.151 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/1.133, allocations: 75.84 kB / 1.151 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/1.134, allocations: 1.263 MB / 1.152 GB, free: 9.938 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/1.134, allocations: 23.83 kB / 1.152 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/1.134, allocations: 13.81 kB / 1.152 GB, free: 9.902 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 0.0001254/1.134, allocations: 108.9 kB / 1.152 GB, free: 9.789 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/1.135, allocations: 19.72 kB / 1.152 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.779e-05/1.135, allocations: 33.67 kB / 1.152 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.135, allocations: 0 / 1.152 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.135, allocations: 3.938 kB / 1.152 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.135, allocations: 0 / 1.152 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/1.136, allocations: 0.6509 MB / 1.153 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.136, allocations: 0 / 1.153 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/1.137, allocations: 51.16 kB / 1.153 GB, free: 8.961 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/1.137, allocations: 4 kB / 1.153 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/1.137, allocations: 7.938 kB / 1.153 GB, free: 8.949 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/1.137, allocations: 3.938 kB / 1.153 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.137, allocations: 8.156 kB / 1.153 GB, free: 8.938 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004735/1.137, allocations: 338.8 kB / 1.153 GB, free: 8.547 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006165/1.138, allocations: 0.7208 MB / 1.154 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/1.138, allocations: 104.8 kB / 1.154 GB, free: 7.641 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/1.138, allocations: 4 kB / 1.154 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/1.138, allocations: 15.98 kB / 1.154 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/1.138, allocations: 15.89 kB / 1.154 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/1.138, allocations: 4 kB / 1.154 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001631/1.139, allocations: 140.2 kB / 1.154 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002494/1.141, allocations: 111.5 kB / 1.155 GB, free: 7.355 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 0.0001493/1.141, allocations: 103.2 kB / 1.155 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001577/1.143, allocations: 272.3 kB / 1.155 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.143, allocations: 5.75 kB / 1.155 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006181/1.144, allocations: 80.22 kB / 1.155 GB, free: 6.895 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/1.144, allocations: 44.25 kB / 1.155 GB, free: 6.859 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009401/1.145, allocations: 340.5 kB / 1.155 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/1.145, allocations: 0.814 MB / 1.156 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of SimCode: time 9.72e-07/1.146, allocations: 0 / 1.156 GB, free: 5.652 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)