Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001086/0.001086, allocations: 181 kB / 377.1 MB, free: 1.535 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.511/1.511, allocations: 205.4 MB / 0.6366 GB, free: 8.555 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.001072/0.001072, allocations: 96.3 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004004, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2695, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.01/6.279, allocations: 2.121 GB / 3.11 GB, free: 95.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/6.28, allocations: 105.7 kB / 3.11 GB, free: 95.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.148/7.428, allocations: 186.3 MB / 3.292 GB, free: 221.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.208e-06/7.428, allocations: 0 / 3.292 GB, free: 221.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003651/7.428, allocations: 100.8 kB / 3.292 GB, free: 221.3 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.01453/7.443, allocations: 3.947 MB / 3.296 GB, free: 219.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/7.443, allocations: 8.938 kB / 3.296 GB, free: 219.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003334/7.446, allocations: 0.602 MB / 3.296 GB, free: 219.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/7.46, allocations: 1.811 MB / 3.298 GB, free: 219.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009505/7.47, allocations: 2.407 MB / 3.3 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006268/7.471, allocations: 316 kB / 3.301 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002818/7.473, allocations: 423.7 kB / 3.301 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02655/7.5, allocations: 6.45 MB / 3.307 GB, free: 217.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004931/7.501, allocations: 10.06 kB / 3.307 GB, free: 217.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003158/7.504, allocations: 183 kB / 3.308 GB, free: 217.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005744/7.504, allocations: 219.8 kB / 3.308 GB, free: 217.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0234/7.528, allocations: 6.465 MB / 3.314 GB, free: 215.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05849/7.586, allocations: 26.18 MB / 3.34 GB, free: 196.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/7.599, allocations: 4.285 MB / 3.344 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/7.601, allocations: 0.5139 MB / 3.344 GB, free: 194.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006134/7.607, allocations: 2.222 MB / 3.346 GB, free: 193.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 1.178e-05/7.607, allocations: 0 / 3.346 GB, free: 193.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.02547/7.632, allocations: 7.711 MB / 3.354 GB, free: 190.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002411/7.633, allocations: 448.2 kB / 3.354 GB, free: 189.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004726/7.637, allocations: 1.585 MB / 3.356 GB, free: 189 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001231/7.639, allocations: 79.05 kB / 3.356 GB, free: 188.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002703/7.641, allocations: 1.709 MB / 3.358 GB, free: 187.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001981/7.643, allocations: 0.8596 MB / 3.359 GB, free: 187 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008245/7.644, allocations: 50.44 kB / 3.359 GB, free: 187 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003146/7.645, allocations: 410.8 kB / 3.359 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004527/7.649, allocations: 1.659 MB / 3.361 GB, free: 186 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005035/7.654, allocations: 2.38 MB / 3.363 GB, free: 184.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004966/7.659, allocations: 1.946 MB / 3.365 GB, free: 183.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-05/7.659, allocations: 3.375 kB / 3.365 GB, free: 183.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01235/7.672, allocations: 4.355 MB / 3.369 GB, free: 182 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001895/7.673, allocations: 6.832 MB / 3.376 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.278e-05/7.674, allocations: 27.08 kB / 3.376 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.602e-05/7.674, allocations: 30.84 kB / 3.376 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004849/7.679, allocations: 0.8275 MB / 3.377 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-05/7.679, allocations: 42.23 kB / 3.377 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004659/7.683, allocations: 403.6 kB / 3.377 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009151/7.684, allocations: 141.7 kB / 3.377 GB, free: 174.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/7.684, allocations: 3.969 kB / 3.377 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01137/7.696, allocations: 3.824 MB / 3.381 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.7e-05/7.696, allocations: 13.84 kB / 3.381 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.147e-05/7.696, allocations: 32.75 kB / 3.381 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004371/7.7, allocations: 0.7857 MB / 3.382 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.971e-05/7.7, allocations: 43.31 kB / 3.382 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004027/7.704, allocations: 344 kB / 3.382 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008195/7.705, allocations: 136.3 kB / 3.382 GB, free: 172.6 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.004527/7.71, allocations: 1.321 MB / 3.384 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/7.711, allocations: 244.2 kB / 3.384 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/7.724, allocations: 4.518 MB / 3.388 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/7.724, allocations: 28.75 kB / 3.388 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/7.724, allocations: 0 / 3.388 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.047e-05/7.724, allocations: 17.31 kB / 3.388 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02361/7.748, allocations: 9.489 MB / 3.398 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/7.748, allocations: 7.812 kB / 3.398 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004616/7.752, allocations: 0.7803 MB / 3.398 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.006e-05/7.753, allocations: 11.03 kB / 3.398 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007343/7.753, allocations: 77.83 kB / 3.398 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-05/7.753, allocations: 14.88 kB / 3.398 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/7.753, allocations: 3.625 kB / 3.398 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/7.765, allocations: 4.452 MB / 3.403 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002849/7.768, allocations: 0.8183 MB / 3.404 GB, free: 163 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/7.769, allocations: 51.06 kB / 3.404 GB, free: 163 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003737/7.773, allocations: 293 kB / 3.404 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004817/7.773, allocations: 166.8 kB / 3.404 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003885/7.773, allocations: 100 kB / 3.404 GB, free: 162.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003323/7.777, allocations: 1.295 MB / 3.405 GB, free: 162.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.31e-07/7.777, allocations: 0 / 3.405 GB, free: 162.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00853/7.785, allocations: 1.411 MB / 3.407 GB, free: 162.1 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.01328/7.799, allocations: 6.14 MB / 3.413 GB, free: 158 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01603/7.815, allocations: 6.06 MB / 3.419 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.066e-05/7.815, allocations: 5.812 kB / 3.419 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005326/7.82, allocations: 2.003 MB / 3.421 GB, free: 151.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00417/7.824, allocations: 0.5678 MB / 3.421 GB, free: 150.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0585/7.883, allocations: 33.03 MB / 3.453 GB, free: 116.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004457/7.887, allocations: 2.691 MB / 3.456 GB, free: 113.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008645/7.896, allocations: 1.285 MB / 3.457 GB, free: 112.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004352/7.9, allocations: 1.597 MB / 3.459 GB, free: 110.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.164e-06/7.901, allocations: 0 / 3.459 GB, free: 110.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/8.018, allocations: 68.17 MB / 3.525 GB, free: 42.66 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/8.019, allocations: 249.1 kB / 3.526 GB, free: 42.38 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.c:7: In file included from ./Buildings_8_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.c:7: In file included from ./Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.o] Error 1