Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.PVSimple,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.724/2.724, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001511/0.001511, allocations: 185.7 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.348/2.348, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 96.56 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004953, allocations: 15.03 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2164, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.11/7.327, allocations: 2.105 GB / 3.084 GB, free: 148.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003929/7.327, allocations: 99.45 kB / 3.084 GB, free: 148.4 MB / 0.948 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: Performance of FrontEnd - DAE generated: time 0.2743/7.601, allocations: 68.66 MB / 3.151 GB, free: 86.28 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.148e-06/7.601, allocations: 4 kB / 3.151 GB, free: 86.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000162/7.602, allocations: 35.94 kB / 3.151 GB, free: 86.24 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 372 * Number of variables: 372 Notification: Performance of Generate backend data structure: time 0.006141/7.608, allocations: 1.71 MB / 3.152 GB, free: 84.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/7.608, allocations: 16.02 kB / 3.152 GB, free: 84.45 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008727/7.609, allocations: 211.7 kB / 3.153 GB, free: 84.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009491/7.618, allocations: 0.8056 MB / 3.153 GB, free: 83.42 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/7.621, allocations: 0.8921 MB / 3.154 GB, free: 82.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/7.621, allocations: 114.8 kB / 3.154 GB, free: 82.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004452/7.622, allocations: 136 kB / 3.155 GB, free: 82.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007498/7.629, allocations: 1.933 MB / 3.156 GB, free: 80.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/7.629, allocations: 3.938 kB / 3.156 GB, free: 80.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/7.63, allocations: 60 kB / 3.157 GB, free: 80.17 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/7.63, allocations: 62.75 kB / 3.157 GB, free: 80.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/7.64, allocations: 2.352 MB / 3.159 GB, free: 77.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/7.658, allocations: 6.155 MB / 3.165 GB, free: 71.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00738/7.665, allocations: 1.561 MB / 3.166 GB, free: 69.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/7.666, allocations: 490.6 kB / 3.167 GB, free: 69.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004133/7.671, allocations: 0.9173 MB / 3.168 GB, free: 68.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 4.769e-06/7.671, allocations: 4 kB / 3.168 GB, free: 68.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.01087/7.682, allocations: 2.177 MB / 3.17 GB, free: 66.07 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/7.682, allocations: 351.1 kB / 3.17 GB, free: 65.65 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/7.683, allocations: 0.7784 MB / 3.171 GB, free: 64.85 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000481/7.684, allocations: 45.7 kB / 3.171 GB, free: 64.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006131/7.685, allocations: 0.6012 MB / 3.172 GB, free: 64.19 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/7.685, allocations: 425.8 kB / 3.172 GB, free: 63.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/7.685, allocations: 20 kB / 3.172 GB, free: 63.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000107/7.686, allocations: 353.9 kB / 3.172 GB, free: 63.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/7.689, allocations: 0.5842 MB / 3.173 GB, free: 62.81 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/7.692, allocations: 0.7935 MB / 3.174 GB, free: 61.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/7.696, allocations: 0.6466 MB / 3.174 GB, free: 61.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/7.696, allocations: 4 kB / 3.174 GB, free: 61.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007657/7.703, allocations: 1.605 MB / 3.176 GB, free: 59.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002776/7.704, allocations: 1.054 MB / 3.177 GB, free: 58.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/7.704, allocations: 8 kB / 3.177 GB, free: 58.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/7.704, allocations: 36.78 kB / 3.177 GB, free: 58.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003537/7.708, allocations: 319.6 kB / 3.177 GB, free: 58.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004342/7.708, allocations: 0.5484 MB / 3.178 GB, free: 57.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/7.711, allocations: 183 kB / 3.178 GB, free: 57.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003604/7.711, allocations: 51.95 kB / 3.178 GB, free: 57.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/7.711, allocations: 8 kB / 3.178 GB, free: 57.38 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006995/7.718, allocations: 1.46 MB / 3.18 GB, free: 55.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/7.718, allocations: 4.188 kB / 3.18 GB, free: 55.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/7.718, allocations: 12 kB / 3.18 GB, free: 55.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/7.722, allocations: 331.5 kB / 3.18 GB, free: 55.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.864e-05/7.722, allocations: 11.94 kB / 3.18 GB, free: 55.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/7.725, allocations: 186.8 kB / 3.18 GB, free: 55.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/7.725, allocations: 59.95 kB / 3.18 GB, free: 55.32 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 146 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001305/7.727, allocations: 433.5 kB / 3.181 GB, free: 54.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004684/7.727, allocations: 118.5 kB / 3.181 GB, free: 54.77 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008832/7.736, allocations: 1.895 MB / 3.182 GB, free: 52.87 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/7.736, allocations: 12 kB / 3.182 GB, free: 52.86 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/7.736, allocations: 8.078 kB / 3.182 GB, free: 52.85 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/7.736, allocations: 7.922 kB / 3.183 GB, free: 52.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/7.748, allocations: 3.587 MB / 3.186 GB, free: 49.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/7.748, allocations: 0 / 3.186 GB, free: 49.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003254/7.751, allocations: 303.6 kB / 3.186 GB, free: 48.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/7.751, allocations: 32.84 kB / 3.186 GB, free: 48.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003079/7.752, allocations: 39.95 kB / 3.186 GB, free: 48.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/7.753, allocations: 1.292 MB / 3.188 GB, free: 47.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/7.753, allocations: 0 / 3.188 GB, free: 47.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007555/7.76, allocations: 1.715 MB / 3.189 GB, free: 45.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/7.762, allocations: 418.9 kB / 3.19 GB, free: 45.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004417/7.762, allocations: 27.95 kB / 3.19 GB, free: 45.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002661/7.765, allocations: 135.9 kB / 3.19 GB, free: 45.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003771/7.765, allocations: 89.19 kB / 3.19 GB, free: 44.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002047/7.766, allocations: 47.95 kB / 3.19 GB, free: 44.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001405/7.767, allocations: 0.6408 MB / 3.191 GB, free: 44.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.51e-07/7.767, allocations: 4 kB / 3.191 GB, free: 44.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003203/7.77, allocations: 0.7279 MB / 3.191 GB, free: 43.53 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009401/7.78, allocations: 2.933 MB / 3.194 GB, free: 40.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01097/7.791, allocations: 2.28 MB / 3.196 GB, free: 38.45 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/7.791, allocations: 0 / 3.196 GB, free: 38.45 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00369/7.794, allocations: 0.9083 MB / 3.197 GB, free: 37.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/7.797, allocations: 281.7 kB / 3.198 GB, free: 37.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/7.824, allocations: 9.705 MB / 3.207 GB, free: 27.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/7.824, allocations: 1.265 MB / 3.208 GB, free: 25.94 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004252/7.829, allocations: 0.5286 MB / 3.209 GB, free: 25.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/7.83, allocations: 0.5773 MB / 3.209 GB, free: 24.83 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/7.831, allocations: 0 / 3.209 GB, free: 24.83 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8324/8.663, allocations: 29.55 MB / 3.238 GB, free: 305.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/8.663, allocations: 249.8 kB / 3.238 GB, free: 305 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple.o Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple.c In file included from Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple.c:7: In file included from ./Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple_functions.o Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple_functions.c In file included from Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple_functions.o] Error 1