Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.279/1.279, allocations: 285.5 MB / 292.8 MB, free: 10.53 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.0008546/0.0008546, allocations: 183.1 kB / 361.1 MB, free: 7.098 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.9663/0.9663, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007603/0.0007604, allocations: 99.98 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1645/0.1653, allocations: 121.4 MB / 0.8512 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.5668, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.7157, allocations: 165.3 MB / 1.125 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.7159, allocations: 88.89 kB / 1.125 GB, free: 6.52 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/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.03896/0.7549, allocations: 17.95 MB / 1.143 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.7549, allocations: 8.5 kB / 1.143 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008365/0.7558, allocations: 111.4 kB / 1.143 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.7563, allocations: 328.2 kB / 1.143 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.7564, allocations: 42.48 kB / 1.143 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.7564, allocations: 21.78 kB / 1.143 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004817/0.7569, allocations: 327.3 kB / 1.144 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005696/0.7575, allocations: 440.5 kB / 1.144 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7575, allocations: 0 / 1.144 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.7576, allocations: 4 kB / 1.144 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.7576, allocations: 40.86 kB / 1.144 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.7597, allocations: 2.137 MB / 1.146 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.7601, allocations: 234.6 kB / 1.146 GB, free: 484 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.7604, allocations: 136.7 kB / 1.147 GB, free: 348 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.7604, allocations: 11.98 kB / 1.147 GB, free: 336 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.7605, allocations: 30.56 kB / 1.147 GB, free: 296 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.273e-06/0.7605, allocations: 4 kB / 1.147 GB, free: 292 kB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0005692/0.761, allocations: 243 kB / 1.147 GB, free: 36 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.7611, allocations: 51.41 kB / 1.147 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.7612, allocations: 193.6 kB / 1.147 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.7613, allocations: 25.7 kB / 1.147 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.7614, allocations: 199.6 kB / 1.147 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.7614, allocations: 67.03 kB / 1.147 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.7614, allocations: 6.469 kB / 1.147 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.7615, allocations: 326.7 kB / 1.148 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.7616, allocations: 76.73 kB / 1.148 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.7618, allocations: 163.5 kB / 1.148 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.7619, allocations: 104 kB / 1.148 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7619, allocations: 0 / 1.148 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006042/0.7626, allocations: 321.9 kB / 1.148 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002618/0.7628, allocations: 0.9522 MB / 1.149 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7628, allocations: 4 kB / 1.149 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.7632, allocations: 97.55 kB / 1.149 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.7635, allocations: 63.91 kB / 1.149 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.7653, allocations: 1.943 MB / 1.151 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.7655, allocations: 27.73 kB / 1.151 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.7655, allocations: 12 kB / 1.151 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-06/0.7655, allocations: 2.5 kB / 1.151 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004679/0.766, allocations: 248.7 kB / 1.152 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.766, allocations: 7.844 kB / 1.152 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/0.7663, allocations: 77.14 kB / 1.152 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.7665, allocations: 59.91 kB / 1.152 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.768, allocations: 1.406 MB / 1.153 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.7682, allocations: 19.84 kB / 1.153 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.7682, allocations: 11.98 kB / 1.153 GB, free: 9.191 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 8.332e-05/0.7683, allocations: 117 kB / 1.153 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.7683, allocations: 21.84 kB / 1.153 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.7684, allocations: 21.59 kB / 1.153 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.7684, allocations: 4 kB / 1.153 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.7684, allocations: 0 / 1.153 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7684, allocations: 6.891 kB / 1.153 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009421/0.7694, allocations: 0.7286 MB / 1.154 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.7694, allocations: 0 / 1.154 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.7695, allocations: 39.91 kB / 1.154 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/0.7699, allocations: 97.84 kB / 1.154 GB, free: 8.086 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.7699, allocations: 7.906 kB / 1.154 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.772, allocations: 2.646 MB / 1.157 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.772, allocations: 4.344 kB / 1.157 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000527/0.7726, allocations: 400.6 kB / 1.157 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006054/0.7732, allocations: 0.7639 MB / 1.158 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.314e-05/0.7733, allocations: 120.7 kB / 1.158 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.7733, allocations: 0 / 1.158 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.7735, allocations: 8 kB / 1.158 GB, free: 3.828 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.7736, allocations: 19.97 kB / 1.158 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.7736, allocations: 4 kB / 1.158 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.282e-05/0.7737, allocations: 136.4 kB / 1.158 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001576/0.7753, allocations: 163.3 kB / 1.158 GB, free: 3.512 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001027/0.7754, allocations: 99.25 kB / 1.158 GB, free: 3.402 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.7767, allocations: 0.5626 MB / 1.159 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7767, allocations: 0 / 1.159 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000626/0.7774, allocations: 336.5 kB / 1.159 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.7777, allocations: 42.73 kB / 1.159 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.7784, allocations: 422.8 kB / 1.16 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.7788, allocations: 0.8386 MB / 1.16 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of SimCode: time 2.51e-07/0.7788, allocations: 0 / 1.16 GB, free: 1.125 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)