Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",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.583/2.583, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001521/0.00152, allocations: 180.5 kB / 370.8 MB, free: 10.86 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.154/2.154, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001162/0.001161, allocations: 93.12 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006542/0.0006544, allocations: 16.23 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2802, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.973/7.253, allocations: 2.121 GB / 3.099 GB, free: 148.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/7.253, allocations: 105.4 kB / 3.099 GB, free: 148.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.282/8.535, allocations: 163.5 MB / 3.259 GB, free: 264.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.378e-06/8.535, allocations: 1.562 kB / 3.259 GB, free: 264.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004043/8.536, allocations: 94.78 kB / 3.259 GB, free: 264.2 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: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.01776/8.553, allocations: 3.692 MB / 3.262 GB, free: 262.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/8.554, allocations: 10.23 kB / 3.262 GB, free: 262.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003111/8.557, allocations: 0.5623 MB / 3.263 GB, free: 262.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02162/8.578, allocations: 1.726 MB / 3.265 GB, free: 262.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00851/8.587, allocations: 2.215 MB / 3.267 GB, free: 261.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005262/8.587, allocations: 296.4 kB / 3.267 GB, free: 261.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/8.59, allocations: 392.4 kB / 3.267 GB, free: 261.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02827/8.618, allocations: 5.971 MB / 3.273 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002645/8.618, allocations: 11.75 kB / 3.273 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/8.62, allocations: 167.1 kB / 3.273 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003612/8.621, allocations: 197.6 kB / 3.274 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02761/8.648, allocations: 6.091 MB / 3.28 GB, free: 261.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05752/8.706, allocations: 22.86 MB / 3.302 GB, free: 250.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/8.725, allocations: 3.999 MB / 3.306 GB, free: 250.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/8.726, allocations: 0.5129 MB / 3.306 GB, free: 250.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008706/8.735, allocations: 2.029 MB / 3.308 GB, free: 250 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 7.644e-06/8.735, allocations: 0 / 3.308 GB, free: 250 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.02864/8.764, allocations: 6.999 MB / 3.315 GB, free: 247.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/8.764, allocations: 449.4 kB / 3.316 GB, free: 247.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003744/8.768, allocations: 1.521 MB / 3.317 GB, free: 246.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000889/8.769, allocations: 69.11 kB / 3.317 GB, free: 246.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001879/8.771, allocations: 1.592 MB / 3.319 GB, free: 245.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001568/8.772, allocations: 0.8088 MB / 3.319 GB, free: 244.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005067/8.773, allocations: 51.19 kB / 3.32 GB, free: 244.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002265/8.773, allocations: 411.8 kB / 3.32 GB, free: 244.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007125/8.78, allocations: 1.544 MB / 3.321 GB, free: 243.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007937/8.788, allocations: 2.265 MB / 3.324 GB, free: 242.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007902/8.796, allocations: 1.83 MB / 3.325 GB, free: 241.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/8.796, allocations: 3.75 kB / 3.325 GB, free: 241.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01906/8.815, allocations: 4.114 MB / 3.329 GB, free: 240.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001554/8.817, allocations: 7.146 MB / 3.336 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-05/8.817, allocations: 16.06 kB / 3.336 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.896e-05/8.817, allocations: 34.81 kB / 3.336 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008233/8.825, allocations: 0.795 MB / 3.337 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.826e-05/8.825, allocations: 46.41 kB / 3.337 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006291/8.832, allocations: 381.7 kB / 3.338 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009864/8.833, allocations: 134.5 kB / 3.338 GB, free: 232.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/8.833, allocations: 7.844 kB / 3.338 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01711/8.85, allocations: 3.685 MB / 3.341 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.76e-05/8.85, allocations: 19.31 kB / 3.341 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.44e-05/8.85, allocations: 36.48 kB / 3.341 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00781/8.858, allocations: 0.7567 MB / 3.342 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.458e-05/8.858, allocations: 39.98 kB / 3.342 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005856/8.864, allocations: 338.7 kB / 3.343 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000945/8.865, allocations: 132.1 kB / 3.343 GB, free: 231 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (336): * Single equations (assignments): 336 * 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 prepare postOptimizeDAE: time 0.004153/8.869, allocations: 1.243 MB / 3.344 GB, free: 230.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/8.87, allocations: 230.8 kB / 3.344 GB, free: 230.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01958/8.89, allocations: 4.129 MB / 3.348 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/8.89, allocations: 25.44 kB / 3.348 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/8.89, allocations: 3.688 kB / 3.348 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.707e-05/8.89, allocations: 10.78 kB / 3.348 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02915/8.919, allocations: 8.631 MB / 3.357 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/8.919, allocations: 7.094 kB / 3.357 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008149/8.927, allocations: 0.715 MB / 3.357 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.354e-05/8.927, allocations: 13.06 kB / 3.357 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006922/8.928, allocations: 74.66 kB / 3.357 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.046e-05/8.928, allocations: 11.06 kB / 3.357 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/8.928, allocations: 0 / 3.357 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/8.944, allocations: 4.08 MB / 3.361 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002738/8.947, allocations: 0.7692 MB / 3.362 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/8.948, allocations: 47.5 kB / 3.362 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005577/8.954, allocations: 270.2 kB / 3.362 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007838/8.955, allocations: 157.5 kB / 3.363 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004613/8.955, allocations: 97.22 kB / 3.363 GB, free: 222.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003061/8.958, allocations: 1.238 MB / 3.364 GB, free: 221.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.012e-06/8.958, allocations: 3.469 kB / 3.364 GB, free: 221.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008571/8.967, allocations: 1.307 MB / 3.365 GB, free: 221.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (262): * Single equations (assignments): 260 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01865/8.985, allocations: 5.776 MB / 3.371 GB, free: 218.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02357/9.009, allocations: 5.675 MB / 3.376 GB, free: 216.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/9.009, allocations: 0 / 3.376 GB, free: 216.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007636/9.017, allocations: 1.826 MB / 3.378 GB, free: 216.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004965/9.022, allocations: 0.5114 MB / 3.379 GB, free: 215.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06816/9.09, allocations: 32 MB / 3.41 GB, free: 192.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004732/9.095, allocations: 2.522 MB / 3.412 GB, free: 190.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01068/9.106, allocations: 1.259 MB / 3.414 GB, free: 190.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004686/9.11, allocations: 1.462 MB / 3.415 GB, free: 188.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/9.11, allocations: 0 / 3.415 GB, free: 188.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1462/9.257, allocations: 63.17 MB / 3.477 GB, free: 139.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/9.257, allocations: 258.2 kB / 3.477 GB, free: 139.4 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_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.c:7: In file included from ./Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_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_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_functions.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_functions.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_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_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_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_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_functions.o] Error 1