Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.63/2.63, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.002074/0.002074, allocations: 177.6 kB / 370.8 MB, free: 10.86 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.25/2.25, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001161/0.001161, allocations: 93.11 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000676/0.0006761, allocations: 11.66 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2255, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.86/7.086, allocations: 2.074 GB / 3.053 GB, free: 199.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/7.086, allocations: 94.69 kB / 3.053 GB, free: 199.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3152/7.402, allocations: 82.52 MB / 3.133 GB, free: 126.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.915e-06/7.402, allocations: 0 / 3.133 GB, free: 126.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000103/7.402, allocations: 31.94 kB / 3.133 GB, free: 126.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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.003817/7.406, allocations: 1.431 MB / 3.135 GB, free: 124.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/7.406, allocations: 12.03 kB / 3.135 GB, free: 124.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005256/7.406, allocations: 181.6 kB / 3.135 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/7.408, allocations: 230 kB / 3.135 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/7.41, allocations: 0.7483 MB / 3.136 GB, free: 123.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/7.41, allocations: 116.1 kB / 3.136 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/7.41, allocations: 120 kB / 3.136 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/7.413, allocations: 1.23 MB / 3.137 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-05/7.414, allocations: 7.938 kB / 3.137 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/7.414, allocations: 59.94 kB / 3.137 GB, free: 121.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/7.414, allocations: 31.94 kB / 3.137 GB, free: 121.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/7.417, allocations: 1.359 MB / 3.139 GB, free: 120.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008527/7.426, allocations: 3.357 MB / 3.142 GB, free: 117 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/7.428, allocations: 0.9078 MB / 3.143 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/7.429, allocations: 44.92 kB / 3.143 GB, free: 116 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/7.43, allocations: 0.5475 MB / 3.143 GB, free: 115.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=93): time 4.599e-06/7.43, allocations: 3.984 kB / 3.143 GB, free: 115.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=93): time 0.005507/7.436, allocations: 1.397 MB / 3.145 GB, free: 114 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/7.436, allocations: 240.3 kB / 3.145 GB, free: 113.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/7.437, allocations: 0.7032 MB / 3.146 GB, free: 113 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002638/7.437, allocations: 45.7 kB / 3.146 GB, free: 113 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/7.438, allocations: 0.5077 MB / 3.146 GB, free: 112.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/7.438, allocations: 307.5 kB / 3.146 GB, free: 112.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-05/7.438, allocations: 12 kB / 3.147 GB, free: 112.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/7.439, allocations: 349.9 kB / 3.147 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000958/7.44, allocations: 305.8 kB / 3.147 GB, free: 111.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/7.441, allocations: 440.2 kB / 3.148 GB, free: 111 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/7.442, allocations: 370.9 kB / 3.148 GB, free: 110.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/7.442, allocations: 4 kB / 3.148 GB, free: 110.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003498/7.445, allocations: 0.9813 MB / 3.149 GB, free: 109.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/7.445, allocations: 8 kB / 3.149 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/7.445, allocations: 0 / 3.149 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/7.446, allocations: 88.81 kB / 3.149 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/7.448, allocations: 187.7 kB / 3.149 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/7.451, allocations: 1.544 MB / 3.151 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/7.453, allocations: 95.19 kB / 3.151 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/7.453, allocations: 36.03 kB / 3.151 GB, free: 107.6 MB / 0.948 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 (102): * Single equations (assignments): 101 * 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.001005/7.454, allocations: 305.6 kB / 3.151 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/7.455, allocations: 99.06 kB / 3.151 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004801/7.459, allocations: 1.301 MB / 3.152 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/7.459, allocations: 15.98 kB / 3.152 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/7.459, allocations: 3.938 kB / 3.152 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/7.459, allocations: 3.984 kB / 3.152 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006125/7.466, allocations: 2.474 MB / 3.155 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/7.466, allocations: 0 / 3.155 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/7.467, allocations: 179.8 kB / 3.155 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008377/7.468, allocations: 88.77 kB / 3.155 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.304e-05/7.468, allocations: 23.98 kB / 3.155 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/7.47, allocations: 1.575 MB / 3.157 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/7.47, allocations: 0 / 3.157 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/7.474, allocations: 1.117 MB / 3.158 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007583/7.475, allocations: 359.2 kB / 3.158 GB, free: 99.78 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/7.475, allocations: 16.28 kB / 3.158 GB, free: 99.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/7.476, allocations: 79.94 kB / 3.158 GB, free: 99.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/7.476, allocations: 72.89 kB / 3.158 GB, free: 99.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/7.477, allocations: 35.98 kB / 3.158 GB, free: 99.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001234/7.478, allocations: 0.5849 MB / 3.159 GB, free: 99 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.21e-07/7.478, allocations: 0 / 3.159 GB, free: 99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001878/7.48, allocations: 402.9 kB / 3.159 GB, free: 98.61 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 (107): * Single equations (assignments): 104 * 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.006098/7.486, allocations: 2.599 MB / 3.162 GB, free: 96.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003024/7.489, allocations: 0.9329 MB / 3.163 GB, free: 95.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/7.489, allocations: 0 / 3.163 GB, free: 95.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/7.491, allocations: 0.5823 MB / 3.163 GB, free: 94.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/7.493, allocations: 250 kB / 3.164 GB, free: 94.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008984/7.502, allocations: 3.835 MB / 3.167 GB, free: 90.48 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/7.503, allocations: 1.146 MB / 3.168 GB, free: 89.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001765/7.504, allocations: 311.4 kB / 3.169 GB, free: 88.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/7.505, allocations: 495.2 kB / 3.169 GB, free: 88.51 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/7.505, allocations: 3.938 kB / 3.169 GB, free: 88.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09432/7.6, allocations: 33.35 MB / 3.202 GB, free: 55.48 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/7.6, allocations: 294.7 kB / 3.202 GB, free: 55.12 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_SolarIrradiation_Examples_DirectTiltedSurface.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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_SolarIrradiation_Examples_DirectTiltedSurface_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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_SolarIrradiation_Examples_DirectTiltedSurface_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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_SolarIrradiation_Examples_DirectTiltedSurface_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.o] Error 1