Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.55/2.55, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001592/0.001592, allocations: 189.2 kB / 370.8 MB, free: 10.85 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.17/2.17, allocations: 205.4 MB / 0.6295 GB, free: 10.51 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.00117/0.001169, allocations: 93.31 kB / 0.7428 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007029/0.000703, allocations: 11.83 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2383, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.829/7.068, allocations: 2.073 GB / 3.051 GB, free: 200.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/7.068, allocations: 109.4 kB / 3.051 GB, free: 200.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2185/7.287, allocations: 58.66 MB / 3.108 GB, free: 151.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.815e-06/7.287, allocations: 3.938 kB / 3.108 GB, free: 151.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.42e-05/7.287, allocations: 24 kB / 3.108 GB, free: 151.1 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002833/7.29, allocations: 1.173 MB / 3.11 GB, free: 150 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/7.29, allocations: 8.031 kB / 3.11 GB, free: 150 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000273/7.29, allocations: 134.1 kB / 3.11 GB, free: 149.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/7.291, allocations: 186.6 kB / 3.11 GB, free: 149.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/7.293, allocations: 0.6094 MB / 3.11 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/7.293, allocations: 60.38 kB / 3.111 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/7.293, allocations: 75.38 kB / 3.111 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/7.295, allocations: 0.8698 MB / 3.111 GB, free: 148.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/7.295, allocations: 0 / 3.111 GB, free: 148.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/7.295, allocations: 32 kB / 3.112 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/7.295, allocations: 27.95 kB / 3.112 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/7.298, allocations: 1.089 MB / 3.113 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005397/7.303, allocations: 2.426 MB / 3.115 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/7.305, allocations: 0.7496 MB / 3.116 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/7.306, allocations: 36.59 kB / 3.116 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/7.307, allocations: 440.3 kB / 3.116 GB, free: 143.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 4.017e-06/7.307, allocations: 0 / 3.116 GB, free: 143.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.004904/7.312, allocations: 1.14 MB / 3.117 GB, free: 142.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.321e-05/7.312, allocations: 244 kB / 3.117 GB, free: 141.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/7.313, allocations: 0.5737 MB / 3.118 GB, free: 141.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/7.313, allocations: 37.7 kB / 3.118 GB, free: 141.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/7.313, allocations: 376.3 kB / 3.118 GB, free: 140.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/7.314, allocations: 260.3 kB / 3.119 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/7.314, allocations: 16 kB / 3.119 GB, free: 140.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000123/7.314, allocations: 374.8 kB / 3.119 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007458/7.315, allocations: 233.2 kB / 3.119 GB, free: 140 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008223/7.315, allocations: 343.6 kB / 3.12 GB, free: 139.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008545/7.316, allocations: 279.1 kB / 3.12 GB, free: 139.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/7.316, allocations: 0 / 3.12 GB, free: 139.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002994/7.319, allocations: 0.7626 MB / 3.121 GB, free: 138.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/7.319, allocations: 9.234 kB / 3.121 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/7.319, allocations: 0 / 3.121 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009791/7.32, allocations: 84.83 kB / 3.121 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/7.322, allocations: 147.8 kB / 3.121 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/7.324, allocations: 1.533 MB / 3.122 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/7.325, allocations: 83.41 kB / 3.122 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/7.326, allocations: 27.98 kB / 3.122 GB, free: 136.5 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 (80): * Single equations (assignments): 79 * 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.0006317/7.326, allocations: 253.6 kB / 3.123 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/7.326, allocations: 79.06 kB / 3.123 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003774/7.33, allocations: 1.045 MB / 3.124 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/7.33, allocations: 12 kB / 3.124 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/7.33, allocations: 0 / 3.124 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/7.33, allocations: 7.922 kB / 3.124 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/7.335, allocations: 1.938 MB / 3.126 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/7.335, allocations: 0 / 3.126 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/7.336, allocations: 147.8 kB / 3.126 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008454/7.337, allocations: 84.77 kB / 3.126 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-05/7.337, allocations: 27.92 kB / 3.126 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002417/7.34, allocations: 1.56 MB / 3.127 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/7.34, allocations: 0 / 3.127 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/7.343, allocations: 0.9453 MB / 3.128 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/7.343, allocations: 283.7 kB / 3.129 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/7.344, allocations: 16 kB / 3.129 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/7.345, allocations: 71.94 kB / 3.129 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/7.345, allocations: 56.92 kB / 3.129 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/7.345, allocations: 35.97 kB / 3.129 GB, free: 129.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008717/7.346, allocations: 483 kB / 3.129 GB, free: 129.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/7.346, allocations: 0 / 3.129 GB, free: 129.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001744/7.348, allocations: 331.3 kB / 3.13 GB, free: 128.9 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 (87): * Single equations (assignments): 84 * 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.005592/7.353, allocations: 2.398 MB / 3.132 GB, free: 126.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002433/7.356, allocations: 0.7628 MB / 3.133 GB, free: 125.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/7.356, allocations: 0 / 3.133 GB, free: 125.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/7.357, allocations: 0.5002 MB / 3.133 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/7.359, allocations: 239.8 kB / 3.133 GB, free: 125.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/7.372, allocations: 5.057 MB / 3.138 GB, free: 120 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/7.373, allocations: 1.023 MB / 3.139 GB, free: 119 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001457/7.374, allocations: 254.2 kB / 3.14 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007121/7.375, allocations: 355.3 kB / 3.14 GB, free: 118.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/7.375, allocations: 0 / 3.14 GB, free: 118.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08528/7.46, allocations: 29.11 MB / 3.168 GB, free: 89.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/7.461, allocations: 293 kB / 3.169 GB, free: 89.23 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_IncidenceAngle.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_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_IncidenceAngle_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_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_IncidenceAngle_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_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_IncidenceAngle_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.o] Error 1