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.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,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",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.625/2.625, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001535/0.001535, allocations: 179 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.072/2.072, 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.001136/0.001136, allocations: 91.27 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 15.44 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2765, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.161/7.438, allocations: 2.12 GB / 3.098 GB, free: 149.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003924/7.438, allocations: 109.2 kB / 3.098 GB, free: 149.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.403/8.842, allocations: 186.3 MB / 3.28 GB, free: 255.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.795e-06/8.842, allocations: 0 / 3.28 GB, free: 255.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004294/8.842, allocations: 105.9 kB / 3.281 GB, free: 255.9 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: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01738/8.86, allocations: 3.937 MB / 3.284 GB, free: 254.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/8.86, allocations: 10.03 kB / 3.284 GB, free: 254.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002934/8.863, allocations: 0.6029 MB / 3.285 GB, free: 254 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02175/8.885, allocations: 1.807 MB / 3.287 GB, free: 253.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008419/8.893, allocations: 2.41 MB / 3.289 GB, free: 253.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005211/8.894, allocations: 319.6 kB / 3.289 GB, free: 253.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002317/8.896, allocations: 416.9 kB / 3.29 GB, free: 253.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02773/8.924, allocations: 6.453 MB / 3.296 GB, free: 252.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002485/8.924, allocations: 8.844 kB / 3.296 GB, free: 252.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002034/8.926, allocations: 182.2 kB / 3.296 GB, free: 252.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004834/8.927, allocations: 221.5 kB / 3.297 GB, free: 252.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02693/8.954, allocations: 6.457 MB / 3.303 GB, free: 252.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05839/9.012, allocations: 26.19 MB / 3.328 GB, free: 240.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01755/9.03, allocations: 4.296 MB / 3.333 GB, free: 239.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/9.031, allocations: 0.5042 MB / 3.333 GB, free: 239.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00865/9.039, allocations: 2.227 MB / 3.335 GB, free: 238.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 7.675e-06/9.04, allocations: 4 kB / 3.335 GB, free: 238.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.02819/9.068, allocations: 7.708 MB / 3.343 GB, free: 234.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/9.068, allocations: 447.7 kB / 3.343 GB, free: 234.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/9.071, allocations: 1.578 MB / 3.345 GB, free: 233.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009175/9.072, allocations: 76.64 kB / 3.345 GB, free: 233.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001931/9.074, allocations: 1.717 MB / 3.347 GB, free: 232.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00166/9.076, allocations: 0.8577 MB / 3.347 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004821/9.077, allocations: 50.41 kB / 3.347 GB, free: 231.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000213/9.077, allocations: 416.4 kB / 3.348 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007426/9.084, allocations: 1.657 MB / 3.349 GB, free: 230.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008155/9.092, allocations: 2.372 MB / 3.352 GB, free: 229.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008255/9.101, allocations: 1.948 MB / 3.354 GB, free: 228.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.21e-05/9.101, allocations: 6.188 kB / 3.354 GB, free: 228.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01831/9.119, allocations: 4.36 MB / 3.358 GB, free: 226.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001493/9.121, allocations: 6.828 MB / 3.365 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.898e-05/9.121, allocations: 17.66 kB / 3.365 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.049e-05/9.121, allocations: 35.12 kB / 3.365 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008512/9.129, allocations: 0.8308 MB / 3.365 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.5e-05/9.13, allocations: 44.64 kB / 3.365 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006478/9.136, allocations: 406.8 kB / 3.366 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008348/9.137, allocations: 138.1 kB / 3.366 GB, free: 219.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/9.137, allocations: 5.75 kB / 3.366 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01611/9.153, allocations: 3.821 MB / 3.37 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.155e-05/9.153, allocations: 15.53 kB / 3.37 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.016e-05/9.153, allocations: 31.12 kB / 3.37 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007824/9.161, allocations: 0.7837 MB / 3.371 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.838e-05/9.161, allocations: 42.44 kB / 3.371 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005965/9.167, allocations: 349.2 kB / 3.371 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008653/9.168, allocations: 138.8 kB / 3.371 GB, free: 217.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (346): * Single equations (assignments): 346 * 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.00434/9.172, allocations: 1.318 MB / 3.372 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/9.174, allocations: 246.5 kB / 3.373 GB, free: 216.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01948/9.193, allocations: 4.524 MB / 3.377 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/9.193, allocations: 27.28 kB / 3.377 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/9.193, allocations: 3.781 kB / 3.377 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.252e-05/9.193, allocations: 13.88 kB / 3.377 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03093/9.224, allocations: 9.479 MB / 3.386 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/9.224, allocations: 3.781 kB / 3.386 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008065/9.232, allocations: 0.7833 MB / 3.387 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.154e-05/9.232, allocations: 13.34 kB / 3.387 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000648/9.233, allocations: 72 kB / 3.387 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.308e-05/9.233, allocations: 15.02 kB / 3.387 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/9.233, allocations: 8.5 kB / 3.387 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/9.25, allocations: 4.453 MB / 3.391 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00284/9.253, allocations: 0.8248 MB / 3.392 GB, free: 208.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/9.254, allocations: 50.03 kB / 3.392 GB, free: 208.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005852/9.26, allocations: 292.3 kB / 3.393 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008665/9.26, allocations: 164.8 kB / 3.393 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004908/9.261, allocations: 103.6 kB / 3.393 GB, free: 208.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003162/9.264, allocations: 1.294 MB / 3.394 GB, free: 207.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/9.264, allocations: 0 / 3.394 GB, free: 207.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009195/9.273, allocations: 1.409 MB / 3.396 GB, free: 207.4 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 (276): * Single equations (assignments): 274 * 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.01987/9.293, allocations: 6.139 MB / 3.402 GB, free: 204.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02451/9.318, allocations: 6.059 MB / 3.407 GB, free: 201.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/9.318, allocations: 0 / 3.407 GB, free: 201.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008207/9.326, allocations: 2.005 MB / 3.409 GB, free: 199.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00544/9.332, allocations: 0.5732 MB / 3.41 GB, free: 199.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07805/9.41, allocations: 33.03 MB / 3.442 GB, free: 167.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005245/9.415, allocations: 2.686 MB / 3.445 GB, free: 165.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01143/9.427, allocations: 1.282 MB / 3.446 GB, free: 164.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005167/9.432, allocations: 1.602 MB / 3.448 GB, free: 162.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.423e-06/9.432, allocations: 4 kB / 3.448 GB, free: 162.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1634/9.595, allocations: 68.15 MB / 3.514 GB, free: 99.99 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/9.596, allocations: 240.6 kB / 3.514 GB, free: 99.67 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.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.c:7: In file included from ./Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_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_functions.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_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_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_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_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.o] Error 1