Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.669/2.669, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001552/0.001551, allocations: 187.3 kB / 370.8 MB, free: 10.89 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.183/2.183, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001127/0.001127, allocations: 101.6 kB / 0.7428 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005846/0.0005845, allocations: 12.36 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2232, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.968/7.191, allocations: 2.072 GB / 3.05 GB, free: 203.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/7.192, allocations: 99.31 kB / 3.05 GB, free: 203.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2117/7.403, allocations: 58.19 MB / 3.107 GB, free: 154.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.855e-06/7.403, allocations: 0 / 3.107 GB, free: 154.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.608e-05/7.403, allocations: 20 kB / 3.107 GB, free: 154 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.002853/7.406, allocations: 1.152 MB / 3.108 GB, free: 152.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/7.406, allocations: 16.02 kB / 3.108 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002615/7.407, allocations: 128.1 kB / 3.108 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/7.408, allocations: 186.6 kB / 3.108 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/7.409, allocations: 0.6034 MB / 3.109 GB, free: 152.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.346e-05/7.41, allocations: 62 kB / 3.109 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/7.41, allocations: 72 kB / 3.109 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/7.412, allocations: 0.8403 MB / 3.11 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/7.412, allocations: 0 / 3.11 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/7.412, allocations: 32 kB / 3.11 GB, free: 151 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/7.412, allocations: 27.89 kB / 3.11 GB, free: 151 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/7.414, allocations: 1.065 MB / 3.111 GB, free: 149.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005452/7.42, allocations: 2.368 MB / 3.113 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/7.422, allocations: 0.8086 MB / 3.114 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/7.422, allocations: 28.59 kB / 3.114 GB, free: 146.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/7.423, allocations: 431.1 kB / 3.114 GB, free: 146.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 4.418e-06/7.423, allocations: 3.938 kB / 3.114 GB, free: 146.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=72): time 0.00475/7.428, allocations: 1.086 MB / 3.115 GB, free: 145.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/7.428, allocations: 248 kB / 3.116 GB, free: 144.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/7.429, allocations: 0.5696 MB / 3.116 GB, free: 144.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/7.43, allocations: 37.7 kB / 3.116 GB, free: 144.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/7.43, allocations: 368.3 kB / 3.117 GB, free: 143.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/7.43, allocations: 244.5 kB / 3.117 GB, free: 143.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/7.43, allocations: 12 kB / 3.117 GB, free: 143.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000137/7.43, allocations: 378.8 kB / 3.117 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007121/7.431, allocations: 221.2 kB / 3.117 GB, free: 142.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000813/7.432, allocations: 315.7 kB / 3.118 GB, free: 142.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007918/7.433, allocations: 267.1 kB / 3.118 GB, free: 142.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/7.433, allocations: 0 / 3.118 GB, free: 142.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002781/7.436, allocations: 0.7159 MB / 3.119 GB, free: 141.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/7.436, allocations: 7.953 kB / 3.119 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/7.436, allocations: 4.062 kB / 3.119 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009851/7.437, allocations: 80.77 kB / 3.119 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/7.438, allocations: 139.8 kB / 3.119 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/7.44, allocations: 1.517 MB / 3.12 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/7.442, allocations: 83.5 kB / 3.121 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/7.442, allocations: 23.98 kB / 3.121 GB, free: 139.6 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 () * Number of clocked 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.000638/7.442, allocations: 256.1 kB / 3.121 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/7.443, allocations: 83 kB / 3.121 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/7.446, allocations: 1.021 MB / 3.122 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/7.446, allocations: 12 kB / 3.122 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/7.446, allocations: 0 / 3.122 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/7.446, allocations: 3.984 kB / 3.122 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004892/7.451, allocations: 1.903 MB / 3.124 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/7.451, allocations: 0 / 3.124 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/7.452, allocations: 151.7 kB / 3.124 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008408/7.453, allocations: 88.67 kB / 3.124 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/7.453, allocations: 23.98 kB / 3.124 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/7.456, allocations: 1.567 MB / 3.126 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/7.456, allocations: 0 / 3.126 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/7.459, allocations: 0.9219 MB / 3.126 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/7.459, allocations: 279.7 kB / 3.127 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/7.46, allocations: 16 kB / 3.127 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/7.461, allocations: 71.94 kB / 3.127 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/7.461, allocations: 60.91 kB / 3.127 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/7.461, allocations: 31.98 kB / 3.127 GB, free: 132.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008354/7.462, allocations: 475 kB / 3.127 GB, free: 132.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/7.462, allocations: 0 / 3.127 GB, free: 132.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001401/7.463, allocations: 331.2 kB / 3.128 GB, free: 132.1 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) * Number of clocked states: 0 () * 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.005454/7.469, allocations: 2.389 MB / 3.13 GB, free: 129.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00244/7.471, allocations: 0.7243 MB / 3.131 GB, free: 129.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/7.471, allocations: 8.062 kB / 3.131 GB, free: 129.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/7.472, allocations: 496.3 kB / 3.131 GB, free: 128.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/7.474, allocations: 242.3 kB / 3.131 GB, free: 128.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/7.488, allocations: 4.927 MB / 3.136 GB, free: 123.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/7.488, allocations: 1.016 MB / 3.137 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001382/7.49, allocations: 262 kB / 3.137 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006848/7.49, allocations: 343.3 kB / 3.138 GB, free: 121.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/7.49, allocations: 3.938 kB / 3.138 GB, free: 121.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0834/7.574, allocations: 28.7 MB / 3.166 GB, free: 93.39 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/7.574, allocations: 284.4 kB / 3.166 GB, free: 93.04 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_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o] Error 1