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.601/1.601, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.00112/0.00112, allocations: 183.1 kB / 371.6 MB, free: 3.391 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.52/1.52, allocations: 205.2 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.0008618/0.0008621, allocations: 94.98 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.895e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2214, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.106/5.328, allocations: 2.077 GB / 3.057 GB, free: 118.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/5.328, allocations: 91.55 kB / 3.057 GB, free: 118.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.209/5.537, allocations: 96.54 MB / 3.151 GB, free: 29.66 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.074e-06/5.537, allocations: 0 / 3.151 GB, free: 29.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.529e-05/5.537, allocations: 47.98 kB / 3.151 GB, free: 29.61 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.003377/5.54, allocations: 1.857 MB / 3.153 GB, free: 27.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/5.54, allocations: 8.031 kB / 3.153 GB, free: 27.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002632/5.541, allocations: 266.2 kB / 3.153 GB, free: 27.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/5.552, allocations: 1.792 MB / 3.155 GB, free: 25.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/5.554, allocations: 1.036 MB / 3.156 GB, free: 24.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.611e-05/5.554, allocations: 143.7 kB / 3.156 GB, free: 24.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/5.555, allocations: 184 kB / 3.156 GB, free: 24.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/5.558, allocations: 2.337 MB / 3.159 GB, free: 21.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/5.558, allocations: 0 / 3.159 GB, free: 21.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/5.559, allocations: 84 kB / 3.159 GB, free: 21.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/5.559, allocations: 44 kB / 3.159 GB, free: 21.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004046/5.563, allocations: 2.864 MB / 3.162 GB, free: 18.85 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/5.575, allocations: 6.244 MB / 3.168 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/5.578, allocations: 2.009 MB / 3.17 GB, free: 10.53 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/5.58, allocations: 1.044 MB / 3.171 GB, free: 9.484 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007321/5.58, allocations: 0.4955 MB / 3.171 GB, free: 8.898 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001892/5.582, allocations: 1.289 MB / 3.172 GB, free: 7.59 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 3.958e-06/5.582, allocations: 0 / 3.172 GB, free: 7.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.003958/5.586, allocations: 2.074 MB / 3.174 GB, free: 5.504 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/5.586, allocations: 253.3 kB / 3.175 GB, free: 5.199 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000975/5.587, allocations: 0.7551 MB / 3.175 GB, free: 4.441 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/5.588, allocations: 57.7 kB / 3.176 GB, free: 4.379 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/5.588, allocations: 0.6335 MB / 3.176 GB, free: 3.734 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/5.588, allocations: 0.6197 MB / 3.177 GB, free: 3.105 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/5.588, allocations: 36 kB / 3.177 GB, free: 3.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/5.589, allocations: 365.9 kB / 3.177 GB, free: 2.707 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/5.59, allocations: 0.7811 MB / 3.178 GB, free: 1.926 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/5.591, allocations: 0.9619 MB / 3.179 GB, free: 0.9258 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/5.592, allocations: 0.8258 MB / 3.18 GB, free: 108 kB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/5.592, allocations: 0 / 3.18 GB, free: 108 kB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.5946/6.187, allocations: 2.109 MB / 3.182 GB, free: 235.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/6.187, allocations: 6.938 kB / 3.182 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/6.187, allocations: 1.938 kB / 3.182 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/6.188, allocations: 87.39 kB / 3.182 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003666/6.191, allocations: 0.5449 MB / 3.182 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/6.194, allocations: 1.518 MB / 3.184 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/6.197, allocations: 312.5 kB / 3.184 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/6.197, allocations: 88.92 kB / 3.184 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 () * 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.0004939/6.197, allocations: 197.2 kB / 3.184 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/6.198, allocations: 141.2 kB / 3.185 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007011/6.205, allocations: 2.709 MB / 3.187 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/6.205, allocations: 20.94 kB / 3.187 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/6.205, allocations: 0.6094 kB / 3.187 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.934e-05/6.205, allocations: 14 kB / 3.187 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/6.215, allocations: 4.864 MB / 3.192 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/6.215, allocations: 0 / 3.192 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003626/6.219, allocations: 0.53 MB / 3.192 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000565/6.219, allocations: 88.8 kB / 3.193 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/6.22, allocations: 64.97 kB / 3.193 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/6.222, allocations: 1.546 MB / 3.194 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/6.222, allocations: 0 / 3.194 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005682/6.227, allocations: 2.266 MB / 3.196 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/6.229, allocations: 0.5362 MB / 3.197 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/6.229, allocations: 36.09 kB / 3.197 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002632/6.232, allocations: 247 kB / 3.197 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/6.232, allocations: 124 kB / 3.197 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002513/6.232, allocations: 82.5 kB / 3.197 GB, free: 231.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001205/6.234, allocations: 0.638 MB / 3.198 GB, free: 231.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/6.234, allocations: 2.25 kB / 3.198 GB, free: 231.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002777/6.236, allocations: 0.6082 MB / 3.199 GB, free: 231.5 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 (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.007678/6.244, allocations: 3.745 MB / 3.202 GB, free: 230.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004696/6.249, allocations: 2.171 MB / 3.204 GB, free: 230.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/6.249, allocations: 6.188 kB / 3.204 GB, free: 230.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/6.251, allocations: 1.265 MB / 3.206 GB, free: 230.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/6.253, allocations: 280.7 kB / 3.206 GB, free: 230.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008589/6.262, allocations: 3.1 MB / 3.209 GB, free: 229.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/6.263, allocations: 1.353 MB / 3.21 GB, free: 229.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003506/6.267, allocations: 0.5515 MB / 3.211 GB, free: 229 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/6.269, allocations: 0.7539 MB / 3.211 GB, free: 229 MB / 0.948 GB Notification: Performance of SimCode: time 1.643e-06/6.269, allocations: 2.625 kB / 3.211 GB, free: 229 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08732/6.356, allocations: 48.32 MB / 3.259 GB, free: 226.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/6.356, allocations: 241 kB / 3.259 GB, free: 225.8 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_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: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_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: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_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