Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.181/2.181, allocations: 248.5 MB / 261.1 MB, free: 5.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001428, allocations: 176.9 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.2 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 93.58 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.639e-05/4.658e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2396, allocations: 106.2 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.456/7.696, allocations: 2.191 GB / 3.082 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003859/7.696, allocations: 84.7 kB / 3.082 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5014/8.198, allocations: 92.14 MB / 3.172 GB, free: 54.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.605e-06/8.198, allocations: 0 / 3.172 GB, free: 54.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001503/8.198, allocations: 32 kB / 3.172 GB, free: 54.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004782/8.203, allocations: 1.371 MB / 3.173 GB, free: 53.28 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/8.203, allocations: 16.03 kB / 3.173 GB, free: 53.26 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000584/8.203, allocations: 198.8 kB / 3.174 GB, free: 53.06 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/8.206, allocations: 237.9 kB / 3.174 GB, free: 52.82 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/8.208, allocations: 0.7753 MB / 3.174 GB, free: 52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/8.209, allocations: 102.8 kB / 3.175 GB, free: 51.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/8.209, allocations: 136 kB / 3.175 GB, free: 51.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004585/8.214, allocations: 1.337 MB / 3.176 GB, free: 50.38 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.655e-05/8.214, allocations: 0 / 3.176 GB, free: 50.38 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002924/8.214, allocations: 63.94 kB / 3.176 GB, free: 50.31 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/8.214, allocations: 32 kB / 3.176 GB, free: 50.28 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005097/8.219, allocations: 1.416 MB / 3.178 GB, free: 48.86 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/8.232, allocations: 3.619 MB / 3.181 GB, free: 45.17 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/8.235, allocations: 0.9101 MB / 3.182 GB, free: 44.25 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/8.237, allocations: 379.8 kB / 3.182 GB, free: 43.87 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/8.237, allocations: 49.06 kB / 3.182 GB, free: 43.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001793/8.239, allocations: 0.5476 MB / 3.183 GB, free: 43.26 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 5.801e-06/8.239, allocations: 4 kB / 3.183 GB, free: 43.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.004745/8.243, allocations: 0.9667 MB / 3.184 GB, free: 42.28 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/8.244, allocations: 244.3 kB / 3.184 GB, free: 41.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/8.246, allocations: 0.7114 MB / 3.185 GB, free: 41.27 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003817/8.246, allocations: 45.7 kB / 3.185 GB, free: 41.21 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008318/8.247, allocations: 0.5505 MB / 3.185 GB, free: 40.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006249/8.248, allocations: 350.9 kB / 3.186 GB, free: 40.31 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/8.248, allocations: 20 kB / 3.186 GB, free: 40.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001204/8.248, allocations: 337.9 kB / 3.186 GB, free: 39.95 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/8.249, allocations: 314 kB / 3.186 GB, free: 39.64 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/8.251, allocations: 447.4 kB / 3.187 GB, free: 39.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/8.253, allocations: 384.8 kB / 3.187 GB, free: 38.81 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/8.253, allocations: 0 / 3.187 GB, free: 38.81 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005326/8.258, allocations: 1.016 MB / 3.188 GB, free: 37.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/8.258, allocations: 11.95 kB / 3.188 GB, free: 37.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/8.258, allocations: 0 / 3.188 GB, free: 37.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/8.259, allocations: 88.83 kB / 3.188 GB, free: 37.68 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/8.262, allocations: 215.7 kB / 3.188 GB, free: 37.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/8.266, allocations: 1.52 MB / 3.19 GB, free: 35.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/8.268, allocations: 115 kB / 3.19 GB, free: 35.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000324/8.269, allocations: 43.91 kB / 3.19 GB, free: 35.65 MB / 0.8698 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 (116): * Single equations (assignments): 115 * 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.0004571/8.269, allocations: 156.8 kB / 3.19 GB, free: 35.49 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005599/8.27, allocations: 102.7 kB / 3.19 GB, free: 35.39 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006872/8.277, allocations: 1.368 MB / 3.192 GB, free: 34 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/8.277, allocations: 12 kB / 3.192 GB, free: 33.99 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/8.277, allocations: 3.938 kB / 3.192 GB, free: 33.99 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/8.277, allocations: 7.969 kB / 3.192 GB, free: 33.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00951/8.286, allocations: 2.551 MB / 3.194 GB, free: 31.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/8.286, allocations: 7.953 kB / 3.194 GB, free: 31.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002299/8.289, allocations: 199.7 kB / 3.194 GB, free: 31.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/8.29, allocations: 84.78 kB / 3.194 GB, free: 31.08 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002901/8.29, allocations: 27.98 kB / 3.194 GB, free: 31.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/8.294, allocations: 1.559 MB / 3.196 GB, free: 29.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/8.294, allocations: 0 / 3.196 GB, free: 29.36 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005038/8.299, allocations: 1.125 MB / 3.197 GB, free: 28.21 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/8.3, allocations: 363.2 kB / 3.197 GB, free: 27.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/8.301, allocations: 24 kB / 3.197 GB, free: 27.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/8.303, allocations: 67.95 kB / 3.197 GB, free: 27.74 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003982/8.303, allocations: 80.81 kB / 3.198 GB, free: 27.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/8.303, allocations: 39.98 kB / 3.198 GB, free: 27.62 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001893/8.305, allocations: 0.6007 MB / 3.198 GB, free: 27.03 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.22e-07/8.305, allocations: 0 / 3.198 GB, free: 27.03 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002923/8.308, allocations: 442.5 kB / 3.199 GB, free: 26.6 MB / 0.8698 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 (115): * Single equations (assignments): 112 * 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.008384/8.317, allocations: 2.567 MB / 3.201 GB, free: 24.15 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004089/8.321, allocations: 0.9485 MB / 3.202 GB, free: 23.19 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/8.321, allocations: 4 kB / 3.202 GB, free: 23.19 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002181/8.323, allocations: 0.5901 MB / 3.203 GB, free: 22.59 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/8.326, allocations: 252.8 kB / 3.203 GB, free: 22.34 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/8.338, allocations: 2.091 MB / 3.205 GB, free: 20.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/8.339, allocations: 1.193 MB / 3.206 GB, free: 18.98 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002547/8.342, allocations: 308 kB / 3.206 GB, free: 18.68 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/8.344, allocations: 0.5305 MB / 3.207 GB, free: 18.15 MB / 0.8698 GB Notification: Performance of SimCode: time 1.684e-06/8.344, allocations: 7.938 kB / 3.207 GB, free: 18.14 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7048/9.048, allocations: 36.76 MB / 3.243 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/9.049, allocations: 246.3 kB / 3.243 GB, free: 260.9 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_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_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.o] Error 1