Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.331/4.331, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.491e-05/4.496e-05, allocations: 4 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.238, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.377/7.616, allocations: 2.238 GB / 2.916 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/7.616, allocations: 94.81 kB / 2.916 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7211/8.337, allocations: 185.5 MB / 3.098 GB, free: 34.33 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.415e-06/8.337, allocations: 0 / 3.098 GB, free: 34.33 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004011/8.338, allocations: 107.9 kB / 3.098 GB, free: 34.23 MB / 0.8855 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.01405/8.352, allocations: 3.636 MB / 3.101 GB, free: 30.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/8.352, allocations: 12.03 kB / 3.101 GB, free: 30.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002004/8.354, allocations: 0.5965 MB / 3.102 GB, free: 29.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02052/8.374, allocations: 1.809 MB / 3.104 GB, free: 28.08 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007473/8.382, allocations: 2.392 MB / 3.106 GB, free: 25.63 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/8.382, allocations: 320.5 kB / 3.106 GB, free: 25.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/8.384, allocations: 419.9 kB / 3.107 GB, free: 24.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01796/8.402, allocations: 5.977 MB / 3.112 GB, free: 18.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/8.402, allocations: 11.88 kB / 3.112 GB, free: 18.68 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009092/8.403, allocations: 188 kB / 3.113 GB, free: 18.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002933/8.403, allocations: 215.4 kB / 3.113 GB, free: 18.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/8.42, allocations: 5.555 MB / 3.118 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6888/9.109, allocations: 26.17 MB / 3.144 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/9.121, allocations: 3.716 MB / 3.147 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005379/9.126, allocations: 1.832 MB / 3.149 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/9.128, allocations: 0.5075 MB / 3.15 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006647/9.134, allocations: 1.973 MB / 3.152 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=254): time 9.868e-06/9.134, allocations: 0 / 3.152 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=257): time 0.02143/9.156, allocations: 5.6 MB / 3.157 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002094/9.156, allocations: 448.6 kB / 3.158 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004748/9.161, allocations: 1.565 MB / 3.159 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/9.162, allocations: 72.73 kB / 3.159 GB, free: 210 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002335/9.164, allocations: 1.713 MB / 3.161 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001883/9.166, allocations: 0.8523 MB / 3.162 GB, free: 209 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004543/9.167, allocations: 56.81 kB / 3.162 GB, free: 209 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002747/9.167, allocations: 412.3 kB / 3.162 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004647/9.172, allocations: 1.41 MB / 3.163 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005701/9.177, allocations: 2.114 MB / 3.165 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005618/9.183, allocations: 1.696 MB / 3.167 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.1e-05/9.183, allocations: 4.781 kB / 3.167 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01348/9.197, allocations: 3.816 MB / 3.171 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001564/9.198, allocations: 6.842 MB / 3.178 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.831e-05/9.198, allocations: 15.59 kB / 3.178 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.388e-05/9.198, allocations: 34.22 kB / 3.178 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008798/9.207, allocations: 0.832 MB / 3.178 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.458e-05/9.207, allocations: 42.67 kB / 3.178 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006792/9.214, allocations: 400.3 kB / 3.179 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/9.215, allocations: 135.5 kB / 3.179 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/9.215, allocations: 3.719 kB / 3.179 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01076/9.226, allocations: 3.286 MB / 3.182 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.074e-05/9.226, allocations: 15.75 kB / 3.182 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.115e-05/9.226, allocations: 39.22 kB / 3.182 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008207/9.235, allocations: 0.779 MB / 3.183 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.366e-05/9.235, allocations: 42.03 kB / 3.183 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006074/9.241, allocations: 348.6 kB / 3.183 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009909/9.242, allocations: 143.6 kB / 3.184 GB, free: 200.3 MB / 0.8855 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 () * 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.001357/9.243, allocations: 271.3 kB / 3.184 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/9.244, allocations: 241.3 kB / 3.184 GB, free: 200 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/9.257, allocations: 4.035 MB / 3.188 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.299e-05/9.258, allocations: 30.19 kB / 3.188 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/9.258, allocations: 0 / 3.188 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.285e-05/9.258, allocations: 14.95 kB / 3.188 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02519/9.283, allocations: 9.01 MB / 3.197 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/9.283, allocations: 3.938 kB / 3.197 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008358/9.291, allocations: 0.7801 MB / 3.198 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.087e-05/9.291, allocations: 10.59 kB / 3.198 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007859/9.292, allocations: 73.64 kB / 3.198 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-05/9.292, allocations: 8.969 kB / 3.198 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/9.292, allocations: 7.438 kB / 3.198 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009684/9.302, allocations: 3.967 MB / 3.202 GB, free: 198 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002908/9.305, allocations: 0.8203 MB / 3.202 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/9.306, allocations: 62.19 kB / 3.202 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006198/9.312, allocations: 290.6 kB / 3.203 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008856/9.313, allocations: 165.2 kB / 3.203 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000513/9.314, allocations: 90.28 kB / 3.203 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00311/9.317, allocations: 1.285 MB / 3.204 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.272e-06/9.317, allocations: 0 / 3.204 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009089/9.326, allocations: 1.397 MB / 3.206 GB, free: 197.3 MB / 0.8855 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) * 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.01308/9.339, allocations: 5.636 MB / 3.211 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0151/9.354, allocations: 5.295 MB / 3.216 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/9.355, allocations: 3.156 kB / 3.216 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004798/9.359, allocations: 1.75 MB / 3.218 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005661/9.365, allocations: 0.5757 MB / 3.218 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02483/9.39, allocations: 7.128 MB / 3.225 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004688/9.395, allocations: 2.685 MB / 3.228 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01233/9.407, allocations: 1.428 MB / 3.229 GB, free: 187.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004327/9.411, allocations: 1.568 MB / 3.231 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.492e-06/9.411, allocations: 0 / 3.231 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1723/9.584, allocations: 70.91 MB / 3.3 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/9.584, allocations: 241.5 kB / 3.3 GB, free: 164.3 MB / 0.8855 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.c:7: In file included from ./Buildings_latest_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.c:2: In file included from ./Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.c:7: In file included from ./Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.o' failed make: *** [Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.o] Error 1