Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource",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.114/2.114, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.00154/0.00154, allocations: 189.2 kB / 360.3 MB, free: 7.527 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.598/1.598, 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.001228/0.001227, allocations: 88.62 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2414/0.2426, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5369/0.7795, allocations: 115.2 MB / 0.9627 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2432/1.023, allocations: 164.2 MB / 1.123 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/1.023, allocations: 89.25 kB / 1.123 GB, free: 8.48 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/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.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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.04436/1.068, allocations: 11.81 MB / 1.135 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.068, allocations: 12.5 kB / 1.135 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009942/1.069, allocations: 87.53 kB / 1.135 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/1.069, allocations: 250.6 kB / 1.135 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.069, allocations: 4.875 kB / 1.135 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/1.069, allocations: 15.98 kB / 1.135 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000535/1.07, allocations: 180.7 kB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/1.07, allocations: 279.5 kB / 1.136 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.07, allocations: 4 kB / 1.136 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/1.07, allocations: 0 / 1.136 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/1.071, allocations: 16.44 kB / 1.136 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/1.073, allocations: 1.438 MB / 1.137 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/1.073, allocations: 98.3 kB / 1.137 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/1.073, allocations: 36.84 kB / 1.137 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/1.073, allocations: 4 kB / 1.137 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/1.073, allocations: 38.41 kB / 1.137 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 4.178e-06/1.073, allocations: 4 kB / 1.137 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004436/1.074, allocations: 124.7 kB / 1.137 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/1.074, allocations: 55.41 kB / 1.137 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/1.074, allocations: 163.2 kB / 1.137 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/1.074, allocations: 29.7 kB / 1.137 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1.074, allocations: 163.7 kB / 1.138 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/1.074, allocations: 27.56 kB / 1.138 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/1.074, allocations: 0 / 1.138 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.074, allocations: 330.8 kB / 1.138 GB, free: 9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/1.075, allocations: 32 kB / 1.138 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/1.075, allocations: 106.6 kB / 1.138 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/1.075, allocations: 50.53 kB / 1.138 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.075, allocations: 0 / 1.138 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004938/1.075, allocations: 186.8 kB / 1.138 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.075, allocations: 4 kB / 1.138 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.075, allocations: 4 kB / 1.138 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/1.076, allocations: 20.84 kB / 1.138 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/1.076, allocations: 43.91 kB / 1.138 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/1.077, allocations: 1.258 MB / 1.14 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/1.078, allocations: 20 kB / 1.14 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/1.078, allocations: 4 kB / 1.14 GB, free: 7.129 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.078, allocations: 116.7 kB / 1.14 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/1.078, allocations: 15.81 kB / 1.14 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/1.078, allocations: 17.41 kB / 1.14 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.078, allocations: 0 / 1.14 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/1.078, allocations: 3.938 kB / 1.14 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.078, allocations: 0 / 1.14 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/1.078, allocations: 227.2 kB / 1.14 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.078, allocations: 0 / 1.14 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/1.078, allocations: 21.08 kB / 1.14 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/1.079, allocations: 24.84 kB / 1.14 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/1.079, allocations: 0 / 1.14 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/1.08, allocations: 1.246 MB / 1.141 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.08, allocations: 0 / 1.141 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003733/1.08, allocations: 224.2 kB / 1.141 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005009/1.081, allocations: 0.5943 MB / 1.142 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/1.081, allocations: 96.92 kB / 1.142 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/1.081, allocations: 8.766 kB / 1.142 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/1.081, allocations: 8 kB / 1.142 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/1.081, allocations: 7.906 kB / 1.142 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/1.081, allocations: 3.984 kB / 1.142 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001649/1.081, allocations: 136 kB / 1.142 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001343/1.083, allocations: 51.84 kB / 1.142 GB, free: 4.129 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001365/1.083, allocations: 95.19 kB / 1.142 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005672/1.083, allocations: 207.2 kB / 1.143 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.083, allocations: 0 / 1.143 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/1.084, allocations: 151.7 kB / 1.143 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/1.084, allocations: 36.77 kB / 1.143 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007234/1.085, allocations: 227.7 kB / 1.143 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005/1.085, allocations: 0.7741 MB / 1.144 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/1.085, allocations: 0 / 1.144 GB, free: 2.586 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)