Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.16/2.16, allocations: 248.5 MB / 261.1 MB, free: 6.02 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.001566/0.001566, allocations: 186.6 kB / 320.4 MB, free: 15.32 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.979/1.979, allocations: 205.2 MB / 0.571 GB, free: 11.79 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.001134/0.001134, allocations: 93.94 kB / 0.6754 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.085e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2039, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.082/7.285, allocations: 2.191 GB / 3.082 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/7.286, allocations: 95.12 kB / 3.082 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2685/7.554, allocations: 67.87 MB / 3.148 GB, free: 78.79 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.176e-06/7.555, allocations: 4 kB / 3.148 GB, free: 78.78 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001297/7.555, allocations: 28 kB / 3.148 GB, free: 78.75 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.003684/7.558, allocations: 1.122 MB / 3.15 GB, free: 77.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/7.559, allocations: 15.97 kB / 3.15 GB, free: 77.56 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000342/7.559, allocations: 139.8 kB / 3.15 GB, free: 77.41 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/7.561, allocations: 202.4 kB / 3.15 GB, free: 77.21 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/7.563, allocations: 0.6308 MB / 3.15 GB, free: 76.54 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/7.564, allocations: 70 kB / 3.151 GB, free: 76.48 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/7.564, allocations: 88 kB / 3.151 GB, free: 76.39 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003402/7.567, allocations: 0.9264 MB / 3.152 GB, free: 75.42 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/7.567, allocations: 3.938 kB / 3.152 GB, free: 75.42 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/7.568, allocations: 47.95 kB / 3.152 GB, free: 75.37 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/7.568, allocations: 20 kB / 3.152 GB, free: 75.35 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/7.572, allocations: 1.101 MB / 3.153 GB, free: 74.25 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009728/7.581, allocations: 2.644 MB / 3.155 GB, free: 71.54 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/7.584, allocations: 0.7602 MB / 3.156 GB, free: 70.76 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/7.585, allocations: 287.1 kB / 3.156 GB, free: 70.48 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/7.586, allocations: 32.72 kB / 3.156 GB, free: 70.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/7.587, allocations: 449.3 kB / 3.157 GB, free: 69.99 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=80): time 5.54e-06/7.587, allocations: 0 / 3.157 GB, free: 69.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80): time 0.004178/7.591, allocations: 0.7305 MB / 3.157 GB, free: 69.25 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/7.592, allocations: 256 kB / 3.158 GB, free: 68.94 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/7.594, allocations: 0.6011 MB / 3.158 GB, free: 68.34 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003638/7.594, allocations: 41.69 kB / 3.158 GB, free: 68.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/7.595, allocations: 412.2 kB / 3.159 GB, free: 67.88 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/7.595, allocations: 264.1 kB / 3.159 GB, free: 67.62 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.495e-05/7.595, allocations: 12 kB / 3.159 GB, free: 67.61 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002091/7.595, allocations: 386.8 kB / 3.159 GB, free: 67.22 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009694/7.596, allocations: 217.5 kB / 3.16 GB, free: 67.01 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/7.598, allocations: 333.1 kB / 3.16 GB, free: 66.65 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/7.599, allocations: 274 kB / 3.16 GB, free: 66.39 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/7.599, allocations: 11.95 kB / 3.16 GB, free: 66.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004098/7.603, allocations: 0.7345 MB / 3.161 GB, free: 65.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/7.603, allocations: 11.98 kB / 3.161 GB, free: 65.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/7.603, allocations: 64 / 3.161 GB, free: 65.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/7.604, allocations: 80.78 kB / 3.161 GB, free: 65.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/7.607, allocations: 163.8 kB / 3.161 GB, free: 65.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/7.61, allocations: 1.516 MB / 3.163 GB, free: 63.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/7.612, allocations: 95.39 kB / 3.163 GB, free: 63.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/7.612, allocations: 35.92 kB / 3.163 GB, free: 63.59 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 (84): * Single equations (assignments): 83 * 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.0003636/7.613, allocations: 144.9 kB / 3.163 GB, free: 63.45 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/7.613, allocations: 79.06 kB / 3.163 GB, free: 63.37 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005605/7.619, allocations: 1.06 MB / 3.164 GB, free: 62.29 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/7.619, allocations: 11.95 kB / 3.164 GB, free: 62.27 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.108e-06/7.619, allocations: 3.984 kB / 3.164 GB, free: 62.27 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/7.619, allocations: 7.984 kB / 3.164 GB, free: 62.26 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007331/7.626, allocations: 1.995 MB / 3.166 GB, free: 60.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/7.626, allocations: 4 kB / 3.166 GB, free: 60.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/7.628, allocations: 159.8 kB / 3.166 GB, free: 60.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/7.629, allocations: 80.78 kB / 3.166 GB, free: 59.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/7.63, allocations: 31.92 kB / 3.166 GB, free: 59.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/7.633, allocations: 1.548 MB / 3.168 GB, free: 58.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/7.633, allocations: 0 / 3.168 GB, free: 58.25 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003936/7.637, allocations: 0.9196 MB / 3.169 GB, free: 57.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009199/7.638, allocations: 303.5 kB / 3.169 GB, free: 56.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/7.638, allocations: 23.98 kB / 3.169 GB, free: 56.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/7.64, allocations: 75.92 kB / 3.169 GB, free: 56.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/7.64, allocations: 68.67 kB / 3.169 GB, free: 56.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/7.64, allocations: 35.98 kB / 3.169 GB, free: 56.79 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00134/7.642, allocations: 499.1 kB / 3.17 GB, free: 56.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.42e-07/7.642, allocations: 0 / 3.17 GB, free: 56.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002129/7.644, allocations: 367.1 kB / 3.17 GB, free: 55.95 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 (94): * Single equations (assignments): 91 * 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.007077/7.651, allocations: 2.389 MB / 3.172 GB, free: 53.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003167/7.654, allocations: 0.7411 MB / 3.173 GB, free: 52.92 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/7.654, allocations: 0 / 3.173 GB, free: 52.92 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/7.656, allocations: 498.9 kB / 3.173 GB, free: 52.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/7.659, allocations: 236.6 kB / 3.174 GB, free: 52.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009852/7.669, allocations: 1.673 MB / 3.175 GB, free: 50.48 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009203/7.67, allocations: 1.056 MB / 3.176 GB, free: 49.39 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0023/7.673, allocations: 270.5 kB / 3.177 GB, free: 49.12 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/7.674, allocations: 399.3 kB / 3.177 GB, free: 48.74 MB / 0.8698 GB Notification: Performance of SimCode: time 1.733e-06/7.674, allocations: 0 / 3.177 GB, free: 48.74 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09187/7.766, allocations: 32.09 MB / 3.208 GB, free: 16.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/7.766, allocations: 263.4 kB / 3.209 GB, free: 16.57 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_BaseClasses_Examples_WallSolarAzimuth.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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_BaseClasses_Examples_WallSolarAzimuth_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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_BaseClasses_Examples_WallSolarAzimuth_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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_BaseClasses_Examples_WallSolarAzimuth_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.o] Error 1