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.907/2.907, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001849/0.001849, allocations: 178.8 kB / 370.8 MB, free: 10.83 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.208/2.208, allocations: 205.4 MB / 0.6295 GB, free: 10.54 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.00235/0.00235, allocations: 93.94 kB / 0.7428 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007741/0.0007745, allocations: 14.12 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2582, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005697/0.2639, allocations: 3.472 MB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 1.023/1.287, allocations: 127.2 MB / 1.106 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009767/1.288, allocations: 14.72 kB / 1.106 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005978/1.289, allocations: 69.02 kB / 1.106 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002551/1.292, allocations: 420.1 kB / 1.106 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/1.295, allocations: 0.5888 MB / 1.107 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002362/1.297, allocations: 0.7373 MB / 1.108 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/1.299, allocations: 447.5 kB / 1.108 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/1.3, allocations: 301.9 kB / 1.108 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009895/1.301, allocations: 292.1 kB / 1.109 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002502/1.301, allocations: 20.38 kB / 1.109 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/1.303, allocations: 248.8 kB / 1.109 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004581/1.303, allocations: 161.5 kB / 1.109 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004906/1.304, allocations: 172.9 kB / 1.109 GB, free: 17.24 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003158/1.307, allocations: 1.016 MB / 1.11 GB, free: 17.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.307, allocations: 0 / 1.11 GB, free: 17.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.838e-06/1.307, allocations: 0 / 1.11 GB, free: 17.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.604e-05/1.307, allocations: 0 / 1.11 GB, free: 17.16 MB / 0.698 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.004419/1.311, allocations: 1.112 MB / 1.111 GB, free: 16.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.312, allocations: 8.562 kB / 1.111 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006223/1.312, allocations: 129.2 kB / 1.111 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/1.314, allocations: 188.1 kB / 1.112 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/1.316, allocations: 0.6732 MB / 1.112 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/1.317, allocations: 58.25 kB / 1.112 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/1.317, allocations: 72.56 kB / 1.112 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/1.32, allocations: 0.8409 MB / 1.113 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/1.32, allocations: 1.938 kB / 1.113 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/1.321, allocations: 35.73 kB / 1.113 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/1.321, allocations: 26.55 kB / 1.113 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/1.324, allocations: 1.052 MB / 1.114 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008057/1.333, allocations: 2.374 MB / 1.117 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/1.335, allocations: 0.8069 MB / 1.117 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/1.335, allocations: 33.12 kB / 1.117 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/1.337, allocations: 422.6 kB / 1.118 GB, free: 14.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 5.37e-06/1.337, allocations: 0 / 1.118 GB, free: 14.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.005197/1.342, allocations: 1.079 MB / 1.119 GB, free: 14.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/1.342, allocations: 188.3 kB / 1.119 GB, free: 14.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/1.344, allocations: 0.5664 MB / 1.12 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00028/1.344, allocations: 41.2 kB / 1.12 GB, free: 14.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/1.344, allocations: 363.9 kB / 1.12 GB, free: 14.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/1.345, allocations: 243.2 kB / 1.12 GB, free: 13.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/1.345, allocations: 10.84 kB / 1.12 GB, free: 13.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002394/1.345, allocations: 379.7 kB / 1.121 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008277/1.346, allocations: 214.9 kB / 1.121 GB, free: 13.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009869/1.347, allocations: 314.9 kB / 1.121 GB, free: 13.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009404/1.348, allocations: 267.8 kB / 1.121 GB, free: 13.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.348, allocations: 0 / 1.121 GB, free: 13.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003295/1.351, allocations: 0.7217 MB / 1.122 GB, free: 13.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/1.351, allocations: 6.125 kB / 1.122 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.351, allocations: 0 / 1.122 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/1.352, allocations: 86.5 kB / 1.122 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/1.354, allocations: 142.8 kB / 1.122 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/1.357, allocations: 1.522 MB / 1.124 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.359, allocations: 81.7 kB / 1.124 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/1.359, allocations: 29.42 kB / 1.124 GB, free: 12.06 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (75): * Single equations (assignments): 74 * 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.0008391/1.36, allocations: 244.6 kB / 1.124 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/1.36, allocations: 74.8 kB / 1.124 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/1.364, allocations: 1.023 MB / 1.125 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/1.364, allocations: 13.19 kB / 1.125 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.364, allocations: 0 / 1.125 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/1.364, allocations: 4.406 kB / 1.125 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00622/1.37, allocations: 1.857 MB / 1.127 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/1.371, allocations: 4 kB / 1.127 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/1.372, allocations: 152 kB / 1.127 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009329/1.373, allocations: 87.45 kB / 1.127 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/1.373, allocations: 25.75 kB / 1.127 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/1.376, allocations: 1.56 MB / 1.129 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.376, allocations: 2.203 kB / 1.129 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003542/1.38, allocations: 0.9218 MB / 1.13 GB, free: 9.816 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009351/1.381, allocations: 267.2 kB / 1.13 GB, free: 9.668 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/1.381, allocations: 19.58 kB / 1.13 GB, free: 9.668 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.382, allocations: 65.06 kB / 1.13 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/1.383, allocations: 63.97 kB / 1.13 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/1.383, allocations: 31.12 kB / 1.13 GB, free: 9.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009951/1.384, allocations: 417.1 kB / 1.131 GB, free: 9.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.4e-07/1.384, allocations: 1.859 kB / 1.131 GB, free: 9.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001725/1.386, allocations: 259.6 kB / 1.131 GB, free: 9.527 MB / 0.698 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.005931/1.392, allocations: 1.92 MB / 1.133 GB, free: 8.602 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0031/1.395, allocations: 0.7243 MB / 1.133 GB, free: 8.387 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.395, allocations: 1.125 kB / 1.133 GB, free: 8.387 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/1.397, allocations: 497.8 kB / 1.134 GB, free: 8.199 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/1.399, allocations: 239.1 kB / 1.134 GB, free: 8.121 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.418, allocations: 4.997 MB / 1.139 GB, free: 5.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000995/1.419, allocations: 1.019 MB / 1.14 GB, free: 4.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001763/1.421, allocations: 262.3 kB / 1.14 GB, free: 4.707 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.422, allocations: 353.6 kB / 1.141 GB, free: 4.656 MB / 0.698 GB Notification: Performance of SimCode: time 1.834e-06/1.422, allocations: 0 / 1.141 GB, free: 4.656 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08085/1.503, allocations: 19.37 MB / 1.159 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004281/1.503, allocations: 282.5 kB / 1.16 GB, free: 11.02 MB / 0.7136 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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