Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.712/1.712, allocations: 289.7 MB / 302.2 MB, free: 2.219 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.001021/0.001021, allocations: 184.9 kB / 371.6 MB, free: 3.438 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.386/1.386, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009057/0.0009056, allocations: 91.2 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.644e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2274, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.047/5.274, allocations: 2.074 GB / 3.053 GB, free: 168 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/5.274, allocations: 83.95 kB / 3.054 GB, free: 167.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1663/5.441, allocations: 78.28 MB / 3.13 GB, free: 89.51 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.854e-06/5.441, allocations: 0 / 3.13 GB, free: 89.51 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000112/5.441, allocations: 24 kB / 3.13 GB, free: 89.49 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002429/5.443, allocations: 1.249 MB / 3.131 GB, free: 88.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/5.443, allocations: 16.02 kB / 3.131 GB, free: 88.17 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002826/5.444, allocations: 169.1 kB / 3.131 GB, free: 88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/5.445, allocations: 214.2 kB / 3.132 GB, free: 87.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/5.446, allocations: 0.7055 MB / 3.132 GB, free: 87.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/5.446, allocations: 82.25 kB / 3.132 GB, free: 86.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/5.446, allocations: 108 kB / 3.132 GB, free: 86.85 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/5.448, allocations: 1.075 MB / 3.133 GB, free: 85.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/5.448, allocations: 0 / 3.133 GB, free: 85.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-05/5.448, allocations: 47.95 kB / 3.134 GB, free: 85.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/5.448, allocations: 31.98 kB / 3.134 GB, free: 85.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/5.45, allocations: 1.172 MB / 3.135 GB, free: 84.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004118/5.454, allocations: 3.023 MB / 3.138 GB, free: 81.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009526/5.455, allocations: 0.7465 MB / 3.138 GB, free: 80.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/5.455, allocations: 279.1 kB / 3.139 GB, free: 80.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-05/5.455, allocations: 28.83 kB / 3.139 GB, free: 80.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005732/5.456, allocations: 433.3 kB / 3.139 GB, free: 79.86 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 2.064e-06/5.456, allocations: 0 / 3.139 GB, free: 79.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=78): time 0.001483/5.457, allocations: 0.7275 MB / 3.14 GB, free: 79.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/5.457, allocations: 244.1 kB / 3.14 GB, free: 78.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/5.458, allocations: 0.6445 MB / 3.141 GB, free: 78.17 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/5.458, allocations: 45.64 kB / 3.141 GB, free: 78.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/5.458, allocations: 499.7 kB / 3.141 GB, free: 77.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/5.458, allocations: 260.2 kB / 3.141 GB, free: 77.37 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/5.459, allocations: 12 kB / 3.141 GB, free: 77.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/5.459, allocations: 337.9 kB / 3.142 GB, free: 77.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/5.459, allocations: 217.5 kB / 3.142 GB, free: 76.81 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/5.459, allocations: 333.1 kB / 3.142 GB, free: 76.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/5.46, allocations: 270 kB / 3.143 GB, free: 76.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/5.46, allocations: 0 / 3.143 GB, free: 76.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001344/5.461, allocations: 0.7422 MB / 3.143 GB, free: 75.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/5.461, allocations: 7.938 kB / 3.143 GB, free: 75.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/5.461, allocations: 3.984 kB / 3.143 GB, free: 75.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/5.462, allocations: 84.84 kB / 3.143 GB, free: 75.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/5.462, allocations: 151.8 kB / 3.144 GB, free: 75.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/5.464, allocations: 1.513 MB / 3.145 GB, free: 73.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/5.464, allocations: 91.31 kB / 3.145 GB, free: 73.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/5.464, allocations: 28.05 kB / 3.145 GB, free: 73.41 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 (83): * Single equations (assignments): 82 * 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.0001368/5.465, allocations: 147 kB / 3.145 GB, free: 73.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/5.465, allocations: 86.97 kB / 3.145 GB, free: 73.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/5.466, allocations: 1.002 MB / 3.146 GB, free: 72.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/5.466, allocations: 12 kB / 3.146 GB, free: 72.15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/5.467, allocations: 4 kB / 3.146 GB, free: 72.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/5.467, allocations: 7.969 kB / 3.146 GB, free: 72.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008754/5.467, allocations: 0.9892 MB / 3.147 GB, free: 71.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/5.467, allocations: 0 / 3.147 GB, free: 71.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/5.468, allocations: 151.8 kB / 3.147 GB, free: 70.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/5.468, allocations: 88.77 kB / 3.148 GB, free: 70.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/5.469, allocations: 23.98 kB / 3.148 GB, free: 70.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/5.47, allocations: 1.536 MB / 3.149 GB, free: 69.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/5.47, allocations: 4.031 kB / 3.149 GB, free: 69.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/5.471, allocations: 0.8439 MB / 3.15 GB, free: 68.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/5.472, allocations: 295.6 kB / 3.15 GB, free: 67.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-05/5.472, allocations: 19.94 kB / 3.15 GB, free: 67.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/5.472, allocations: 67.94 kB / 3.15 GB, free: 67.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/5.472, allocations: 60.69 kB / 3.15 GB, free: 67.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/5.472, allocations: 31.98 kB / 3.15 GB, free: 67.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005415/5.473, allocations: 0.5148 MB / 3.151 GB, free: 67.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.473, allocations: 4 kB / 3.151 GB, free: 67.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009493/5.474, allocations: 378.8 kB / 3.151 GB, free: 66.92 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.00299/5.477, allocations: 2.27 MB / 3.153 GB, free: 64.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001108/5.478, allocations: 0.7294 MB / 3.154 GB, free: 63.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/5.478, allocations: 0 / 3.154 GB, free: 63.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006446/5.479, allocations: 490.9 kB / 3.155 GB, free: 63.49 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/5.48, allocations: 252.5 kB / 3.155 GB, free: 63.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/5.483, allocations: 1.767 MB / 3.157 GB, free: 61.44 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/5.484, allocations: 1.106 MB / 3.158 GB, free: 60.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007307/5.484, allocations: 258.7 kB / 3.158 GB, free: 60.04 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/5.485, allocations: 447.2 kB / 3.158 GB, free: 59.61 MB / 0.948 GB Notification: Performance of SimCode: time 7.92e-07/5.485, allocations: 4 kB / 3.158 GB, free: 59.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04683/5.532, allocations: 32.25 MB / 3.19 GB, free: 27.57 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/5.532, allocations: 238.8 kB / 3.19 GB, free: 27.25 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_SolarIrradiation_Examples_DiffuseIsotropic.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_SolarIrradiation_Examples_DiffuseIsotropic_functions.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_SolarIrradiation_Examples_DiffuseIsotropic_functions.o] Error 1