Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.785/1.785, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001627/0.001628, allocations: 193 kB / 377.1 MB, free: 1.52 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.988/1.988, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0009929/0.0009929, allocations: 95.08 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003957, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.962/6.298, allocations: 2.077 GB / 3.065 GB, free: 104.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/6.298, allocations: 89.2 kB / 3.066 GB, free: 104.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2142/6.513, allocations: 96.88 MB / 3.16 GB, free: 8.172 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.569e-06/6.513, allocations: 4 kB / 3.16 GB, free: 8.168 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001117/6.513, allocations: 43.94 kB / 3.16 GB, free: 8.125 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.004041/6.517, allocations: 2.015 MB / 3.162 GB, free: 6.051 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/6.517, allocations: 16.02 kB / 3.162 GB, free: 6.035 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003076/6.517, allocations: 266.2 kB / 3.162 GB, free: 5.766 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/6.529, allocations: 1.8 MB / 3.164 GB, free: 3.961 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/6.531, allocations: 1.032 MB / 3.165 GB, free: 2.883 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/6.532, allocations: 143.7 kB / 3.165 GB, free: 2.742 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/6.532, allocations: 180 kB / 3.166 GB, free: 2.566 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7667/7.299, allocations: 2.92 MB / 3.168 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.016e-05/7.299, allocations: 3.844 kB / 3.168 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003077/7.299, allocations: 79.81 kB / 3.168 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/7.299, allocations: 47.25 kB / 3.169 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/7.312, allocations: 4.008 MB / 3.172 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/7.327, allocations: 6.233 MB / 3.179 GB, free: 238 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009527/7.336, allocations: 2.737 MB / 3.181 GB, free: 238 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009655/7.337, allocations: 0.5034 MB / 3.182 GB, free: 237.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006179/7.343, allocations: 1.636 MB / 3.183 GB, free: 237.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 6.221e-06/7.344, allocations: 0.75 kB / 3.183 GB, free: 237.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.01494/7.358, allocations: 4.058 MB / 3.187 GB, free: 237.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/7.359, allocations: 254.1 kB / 3.187 GB, free: 236.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/7.36, allocations: 0.7648 MB / 3.188 GB, free: 236.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002581/7.361, allocations: 61.03 kB / 3.188 GB, free: 236.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008537/7.362, allocations: 0.6329 MB / 3.189 GB, free: 236.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007325/7.362, allocations: 0.6241 MB / 3.19 GB, free: 236.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/7.362, allocations: 30.25 kB / 3.19 GB, free: 236.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001599/7.363, allocations: 366.1 kB / 3.19 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003967/7.367, allocations: 1.124 MB / 3.191 GB, free: 235.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004117/7.371, allocations: 1.307 MB / 3.192 GB, free: 235.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00364/7.374, allocations: 1.169 MB / 3.193 GB, free: 235.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/7.374, allocations: 0 / 3.193 GB, free: 235.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008298/7.383, allocations: 2.793 MB / 3.196 GB, free: 235.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/7.383, allocations: 6.094 kB / 3.196 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/7.383, allocations: 3.516 kB / 3.196 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/7.383, allocations: 92.34 kB / 3.196 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/7.387, allocations: 0.5367 MB / 3.197 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/7.389, allocations: 1.535 MB / 3.198 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/7.392, allocations: 326.4 kB / 3.199 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/7.392, allocations: 84.17 kB / 3.199 GB, free: 234.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.001225/7.393, allocations: 384.7 kB / 3.199 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/7.394, allocations: 134.6 kB / 3.199 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/7.404, allocations: 3.395 MB / 3.202 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/7.404, allocations: 23.45 kB / 3.202 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/7.404, allocations: 0.5625 kB / 3.202 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/7.404, allocations: 11.11 kB / 3.202 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/7.417, allocations: 5.562 MB / 3.208 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/7.417, allocations: 0 / 3.208 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003227/7.42, allocations: 0.5338 MB / 3.208 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005239/7.42, allocations: 89.53 kB / 3.209 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/7.421, allocations: 68.34 kB / 3.209 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/7.422, allocations: 1.56 MB / 3.21 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/7.422, allocations: 0.7031 kB / 3.21 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008526/7.431, allocations: 2.953 MB / 3.213 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/7.432, allocations: 0.5282 MB / 3.214 GB, free: 231.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004344/7.433, allocations: 36.72 kB / 3.214 GB, free: 231.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002625/7.435, allocations: 251.2 kB / 3.214 GB, free: 231.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/7.436, allocations: 122.1 kB / 3.214 GB, free: 231.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/7.436, allocations: 84.12 kB / 3.214 GB, free: 231.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009947/7.437, allocations: 0.6512 MB / 3.215 GB, free: 231.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/7.437, allocations: 0 / 3.215 GB, free: 231.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002288/7.439, allocations: 0.606 MB / 3.215 GB, free: 231.3 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 (206): * Single equations (assignments): 203 * 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.01136/7.451, allocations: 4.479 MB / 3.22 GB, free: 230.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008762/7.459, allocations: 2.857 MB / 3.222 GB, free: 229.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/7.459, allocations: 0 / 3.222 GB, free: 229.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004477/7.464, allocations: 1.595 MB / 3.224 GB, free: 229 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/7.466, allocations: 279.8 kB / 3.224 GB, free: 228.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03182/7.498, allocations: 11.96 MB / 3.236 GB, free: 222.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/7.499, allocations: 1.365 MB / 3.237 GB, free: 222 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004214/7.504, allocations: 0.5519 MB / 3.238 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/7.505, allocations: 0.7516 MB / 3.238 GB, free: 221.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.154e-06/7.505, allocations: 3.609 kB / 3.238 GB, free: 221.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/7.633, allocations: 46.28 MB / 3.284 GB, free: 218.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/7.634, allocations: 267.6 kB / 3.284 GB, free: 218 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_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_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_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_DiffusePerez_functions.o] Error 1