Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.694/1.694, allocations: 289.7 MB / 302.3 MB, free: 2.176 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.001326/0.001326, allocations: 184.7 kB / 371.6 MB, free: 3.391 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.767/1.767, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001137/0.001137, allocations: 91.95 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.267e-05/4.269e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3529, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.535/6.887, allocations: 2.073 GB / 3.052 GB, free: 168.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/6.888, allocations: 91.95 kB / 3.053 GB, free: 168.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1245/7.012, allocations: 57.89 MB / 3.109 GB, free: 110.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.244e-06/7.012, allocations: 0 / 3.109 GB, free: 110.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.703e-05/7.012, allocations: 27.94 kB / 3.109 GB, free: 110.5 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.001581/7.014, allocations: 1.03 MB / 3.11 GB, free: 109.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/7.014, allocations: 8.031 kB / 3.11 GB, free: 109.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/7.014, allocations: 130.8 kB / 3.11 GB, free: 109.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007989/7.015, allocations: 186.5 kB / 3.11 GB, free: 109.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008428/7.016, allocations: 0.6075 MB / 3.111 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/7.016, allocations: 58 kB / 3.111 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.772e-05/7.016, allocations: 72 kB / 3.111 GB, free: 108.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/7.017, allocations: 0.8131 MB / 3.112 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/7.017, allocations: 0 / 3.112 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/7.017, allocations: 32 kB / 3.112 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/7.017, allocations: 20.75 kB / 3.112 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/7.018, allocations: 1.022 MB / 3.113 GB, free: 106.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/7.021, allocations: 2.376 MB / 3.115 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009722/7.022, allocations: 0.7546 MB / 3.116 GB, free: 103.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/7.023, allocations: 259.8 kB / 3.116 GB, free: 102.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.616e-05/7.023, allocations: 36.58 kB / 3.116 GB, free: 102.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005299/7.023, allocations: 402.1 kB / 3.117 GB, free: 102.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 2.184e-06/7.023, allocations: 0 / 3.117 GB, free: 102.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=72): time 0.00142/7.025, allocations: 0.6847 MB / 3.117 GB, free: 101.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/7.025, allocations: 244.1 kB / 3.118 GB, free: 101.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/7.025, allocations: 0.5696 MB / 3.118 GB, free: 100.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/7.026, allocations: 41.64 kB / 3.118 GB, free: 100.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/7.026, allocations: 364.3 kB / 3.119 GB, free: 100.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/7.026, allocations: 240.5 kB / 3.119 GB, free: 100.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/7.026, allocations: 16 kB / 3.119 GB, free: 100.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/7.026, allocations: 375.7 kB / 3.119 GB, free: 99.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/7.026, allocations: 193.5 kB / 3.119 GB, free: 99.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/7.027, allocations: 305 kB / 3.12 GB, free: 99.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/7.027, allocations: 246 kB / 3.12 GB, free: 99.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/7.027, allocations: 0 / 3.12 GB, free: 99.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00129/7.028, allocations: 0.6836 MB / 3.121 GB, free: 98.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/7.028, allocations: 7.953 kB / 3.121 GB, free: 98.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/7.028, allocations: 0 / 3.121 GB, free: 98.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005701/7.029, allocations: 80.84 kB / 3.121 GB, free: 98.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/7.029, allocations: 140.8 kB / 3.121 GB, free: 98.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/7.031, allocations: 1.514 MB / 3.122 GB, free: 96.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/7.032, allocations: 75.39 kB / 3.122 GB, free: 96.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/7.032, allocations: 28.05 kB / 3.122 GB, free: 96.41 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (74): * Single equations (assignments): 73 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001382/7.032, allocations: 144.9 kB / 3.122 GB, free: 96.26 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/7.032, allocations: 83.95 kB / 3.123 GB, free: 96.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/7.034, allocations: 0.9731 MB / 3.124 GB, free: 95.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/7.034, allocations: 8 kB / 3.124 GB, free: 95.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/7.034, allocations: 0 / 3.124 GB, free: 95.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/7.034, allocations: 3.984 kB / 3.124 GB, free: 95.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/7.036, allocations: 1.858 MB / 3.125 GB, free: 93.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/7.036, allocations: 0 / 3.125 GB, free: 93.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/7.037, allocations: 147.8 kB / 3.125 GB, free: 93.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/7.037, allocations: 84.73 kB / 3.126 GB, free: 93.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/7.037, allocations: 23.98 kB / 3.126 GB, free: 93.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/7.039, allocations: 1.552 MB / 3.127 GB, free: 91.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/7.039, allocations: 0 / 3.127 GB, free: 91.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/7.04, allocations: 0.8651 MB / 3.128 GB, free: 90.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/7.041, allocations: 283.7 kB / 3.128 GB, free: 90.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.121e-05/7.041, allocations: 23.92 kB / 3.128 GB, free: 90.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/7.041, allocations: 63.95 kB / 3.128 GB, free: 90.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/7.041, allocations: 68.62 kB / 3.128 GB, free: 89.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/7.041, allocations: 27.98 kB / 3.128 GB, free: 89.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000467/7.042, allocations: 471.7 kB / 3.129 GB, free: 89.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.042, allocations: 0 / 3.129 GB, free: 89.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009644/7.043, allocations: 319.3 kB / 3.129 GB, free: 89.19 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003048/7.046, allocations: 2.303 MB / 3.131 GB, free: 86.97 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001118/7.047, allocations: 0.6786 MB / 3.132 GB, free: 86.28 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/7.047, allocations: 0 / 3.132 GB, free: 86.28 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006068/7.048, allocations: 475 kB / 3.133 GB, free: 85.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/7.049, allocations: 246 kB / 3.133 GB, free: 85.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/7.052, allocations: 1.521 MB / 3.134 GB, free: 84.01 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/7.052, allocations: 1.019 MB / 3.135 GB, free: 82.96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007356/7.053, allocations: 254 kB / 3.135 GB, free: 82.71 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/7.054, allocations: 351.3 kB / 3.136 GB, free: 82.36 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/7.054, allocations: 0 / 3.136 GB, free: 82.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04893/7.103, allocations: 30.42 MB / 3.166 GB, free: 52.15 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/7.103, allocations: 242.4 kB / 3.166 GB, free: 51.82 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o] Error 1