Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001291/0.001291, allocations: 180.3 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 89.7 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.823e-05/3.826e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3204, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.338/6.659, allocations: 2.072 GB / 3.052 GB, free: 174.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/6.659, allocations: 97.5 kB / 3.052 GB, free: 174.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1236/6.783, allocations: 57.29 MB / 3.108 GB, free: 117 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.737e-06/6.783, allocations: 7.938 kB / 3.108 GB, free: 117 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.587e-05/6.783, allocations: 20 kB / 3.108 GB, free: 117 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001975/6.785, allocations: 1.022 MB / 3.109 GB, free: 115.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/6.785, allocations: 8.031 kB / 3.109 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/6.785, allocations: 126.7 kB / 3.11 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008616/6.786, allocations: 187.7 kB / 3.11 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/6.787, allocations: 0.5997 MB / 3.11 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/6.787, allocations: 58 kB / 3.11 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.893e-05/6.787, allocations: 68 kB / 3.11 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/6.789, allocations: 0.7975 MB / 3.111 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/6.789, allocations: 0 / 3.111 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/6.789, allocations: 32 kB / 3.111 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/6.789, allocations: 16 kB / 3.111 GB, free: 113.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/6.79, allocations: 1.007 MB / 3.112 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/6.793, allocations: 2.337 MB / 3.115 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/6.794, allocations: 0.7442 MB / 3.115 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/6.795, allocations: 254.4 kB / 3.115 GB, free: 109.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/6.795, allocations: 28.59 kB / 3.116 GB, free: 109.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005753/6.795, allocations: 397.8 kB / 3.116 GB, free: 109.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.064e-06/6.795, allocations: 0 / 3.116 GB, free: 109.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001441/6.797, allocations: 0.664 MB / 3.117 GB, free: 108.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.452e-05/6.797, allocations: 239.9 kB / 3.117 GB, free: 108.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/6.797, allocations: 0.5518 MB / 3.117 GB, free: 107.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/6.798, allocations: 41.7 kB / 3.117 GB, free: 107.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/6.798, allocations: 362.1 kB / 3.118 GB, free: 107.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/6.798, allocations: 224.7 kB / 3.118 GB, free: 106.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/6.798, allocations: 19.94 kB / 3.118 GB, free: 106.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001121/6.798, allocations: 374.8 kB / 3.118 GB, free: 106.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/6.798, allocations: 189.5 kB / 3.118 GB, free: 106.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/6.799, allocations: 297.1 kB / 3.119 GB, free: 106 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/6.799, allocations: 246 kB / 3.119 GB, free: 105.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/6.799, allocations: 0 / 3.119 GB, free: 105.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001235/6.8, allocations: 0.6642 MB / 3.12 GB, free: 105.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/6.8, allocations: 4 kB / 3.12 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/6.8, allocations: 0 / 3.12 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/6.801, allocations: 88.77 kB / 3.12 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/6.801, allocations: 131.8 kB / 3.12 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/6.803, allocations: 1.527 MB / 3.121 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/6.804, allocations: 75.53 kB / 3.121 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/6.804, allocations: 23.98 kB / 3.121 GB, free: 103.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0001416/6.804, allocations: 140.9 kB / 3.122 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/6.804, allocations: 79.06 kB / 3.122 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/6.806, allocations: 0.922 MB / 3.123 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/6.806, allocations: 8 kB / 3.123 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/6.806, allocations: 0 / 3.123 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/6.806, allocations: 3.984 kB / 3.123 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/6.808, allocations: 1.804 MB / 3.124 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/6.808, allocations: 3.938 kB / 3.124 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000484/6.809, allocations: 139.9 kB / 3.124 GB, free: 99.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/6.809, allocations: 93.44 kB / 3.125 GB, free: 99.85 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/6.809, allocations: 19.98 kB / 3.125 GB, free: 99.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/6.811, allocations: 1.54 MB / 3.126 GB, free: 98.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/6.811, allocations: 0 / 3.126 GB, free: 98.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/6.812, allocations: 0.8455 MB / 3.127 GB, free: 97.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/6.812, allocations: 275.8 kB / 3.127 GB, free: 97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/6.812, allocations: 20 kB / 3.127 GB, free: 96.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/6.813, allocations: 59.95 kB / 3.127 GB, free: 96.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/6.813, allocations: 65.91 kB / 3.127 GB, free: 96.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/6.813, allocations: 31.92 kB / 3.127 GB, free: 96.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004642/6.814, allocations: 459.2 kB / 3.128 GB, free: 96.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.814, allocations: 0 / 3.128 GB, free: 96.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009907/6.815, allocations: 315.3 kB / 3.128 GB, free: 96.07 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.003172/6.818, allocations: 2.28 MB / 3.13 GB, free: 93.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001117/6.819, allocations: 0.659 MB / 3.131 GB, free: 93.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/6.819, allocations: 3.938 kB / 3.131 GB, free: 93.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000587/6.82, allocations: 463 kB / 3.131 GB, free: 92.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/6.821, allocations: 230.4 kB / 3.132 GB, free: 92.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/6.824, allocations: 1.485 MB / 3.133 GB, free: 90.99 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/6.824, allocations: 1.007 MB / 3.134 GB, free: 89.95 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007093/6.825, allocations: 249.8 kB / 3.134 GB, free: 89.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/6.825, allocations: 339.3 kB / 3.135 GB, free: 89.37 MB / 0.948 GB Notification: Performance of SimCode: time 8.01e-07/6.825, allocations: 0 / 3.135 GB, free: 89.37 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05384/6.879, allocations: 29.99 MB / 3.164 GB, free: 59.61 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/6.88, allocations: 258 kB / 3.164 GB, free: 59.27 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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 -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o] Error 1