Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.541/2.541, allocations: 248.5 MB / 261.1 MB, free: 5.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 188 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.2 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 94.42 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.146e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2017, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.142/7.344, allocations: 2.19 GB / 3.081 GB, free: 144 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/7.344, allocations: 95.88 kB / 3.081 GB, free: 144 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2046/7.549, allocations: 57.1 MB / 3.136 GB, free: 91.53 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.723e-06/7.549, allocations: 4 kB / 3.136 GB, free: 91.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.647e-05/7.549, allocations: 16 kB / 3.136 GB, free: 91.51 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002216/7.551, allocations: 1.031 MB / 3.137 GB, free: 90.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/7.551, allocations: 8.031 kB / 3.137 GB, free: 90.42 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/7.551, allocations: 126.8 kB / 3.138 GB, free: 90.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/7.553, allocations: 178.6 kB / 3.138 GB, free: 90.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/7.554, allocations: 0.6114 MB / 3.138 GB, free: 89.46 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/7.554, allocations: 54 kB / 3.138 GB, free: 89.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/7.554, allocations: 76 kB / 3.138 GB, free: 89.33 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/7.556, allocations: 0.813 MB / 3.139 GB, free: 88.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/7.556, allocations: 3.953 kB / 3.139 GB, free: 88.47 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/7.556, allocations: 32 kB / 3.139 GB, free: 88.44 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/7.556, allocations: 20 kB / 3.139 GB, free: 88.42 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/7.558, allocations: 1.007 MB / 3.14 GB, free: 87.42 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005338/7.564, allocations: 2.348 MB / 3.143 GB, free: 85 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/7.565, allocations: 0.6735 MB / 3.143 GB, free: 84.31 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/7.566, allocations: 254.5 kB / 3.143 GB, free: 84.06 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/7.566, allocations: 28.67 kB / 3.143 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008634/7.567, allocations: 405.1 kB / 3.144 GB, free: 83.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 3.066e-06/7.567, allocations: 0 / 3.144 GB, free: 83.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.002511/7.569, allocations: 0.6758 MB / 3.145 GB, free: 82.94 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/7.57, allocations: 240.1 kB / 3.145 GB, free: 82.64 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/7.571, allocations: 0.5658 MB / 3.145 GB, free: 82.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/7.571, allocations: 41.7 kB / 3.145 GB, free: 82.03 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/7.571, allocations: 368.3 kB / 3.146 GB, free: 81.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/7.571, allocations: 236.6 kB / 3.146 GB, free: 81.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/7.571, allocations: 8 kB / 3.146 GB, free: 81.42 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001202/7.572, allocations: 378.8 kB / 3.146 GB, free: 81.04 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/7.572, allocations: 197.5 kB / 3.146 GB, free: 80.85 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/7.573, allocations: 305 kB / 3.147 GB, free: 80.52 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/7.573, allocations: 242 kB / 3.147 GB, free: 80.29 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/7.573, allocations: 0 / 3.147 GB, free: 80.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002398/7.576, allocations: 0.6836 MB / 3.148 GB, free: 79.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/7.576, allocations: 4 kB / 3.148 GB, free: 79.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/7.576, allocations: 0 / 3.148 GB, free: 79.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009938/7.577, allocations: 88.78 kB / 3.148 GB, free: 79.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/7.578, allocations: 135.8 kB / 3.148 GB, free: 79.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/7.581, allocations: 1.524 MB / 3.149 GB, free: 77.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/7.582, allocations: 71.44 kB / 3.149 GB, free: 77.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.685e-05/7.582, allocations: 31.97 kB / 3.149 GB, free: 77.59 MB / 0.8698 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 (74): * Single equations (assignments): 73 * 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.0002443/7.582, allocations: 140.9 kB / 3.15 GB, free: 77.45 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/7.582, allocations: 79.02 kB / 3.15 GB, free: 77.37 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/7.585, allocations: 0.9339 MB / 3.151 GB, free: 76.43 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/7.585, allocations: 12 kB / 3.151 GB, free: 76.41 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/7.585, allocations: 0 / 3.151 GB, free: 76.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/7.586, allocations: 3.984 kB / 3.151 GB, free: 76.41 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/7.587, allocations: 0.837 MB / 3.151 GB, free: 75.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/7.587, allocations: 0 / 3.151 GB, free: 75.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/7.588, allocations: 139.8 kB / 3.152 GB, free: 75.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008845/7.589, allocations: 84.81 kB / 3.152 GB, free: 75.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/7.589, allocations: 23.98 kB / 3.152 GB, free: 75.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/7.591, allocations: 1.536 MB / 3.153 GB, free: 73.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/7.591, allocations: 4.062 kB / 3.153 GB, free: 73.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/7.594, allocations: 0.7855 MB / 3.154 GB, free: 72.79 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005594/7.595, allocations: 279.8 kB / 3.154 GB, free: 72.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/7.595, allocations: 20 kB / 3.154 GB, free: 72.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009294/7.596, allocations: 67.89 kB / 3.154 GB, free: 72.41 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/7.596, allocations: 56.7 kB / 3.154 GB, free: 72.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.675e-05/7.596, allocations: 27.98 kB / 3.154 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008731/7.597, allocations: 471.1 kB / 3.155 GB, free: 71.87 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.423e-06/7.597, allocations: 0 / 3.155 GB, free: 71.87 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001347/7.598, allocations: 323.2 kB / 3.155 GB, free: 71.55 MB / 0.8698 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 (82): * Single equations (assignments): 79 * 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.004842/7.603, allocations: 2.212 MB / 3.157 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001998/7.605, allocations: 0.6747 MB / 3.158 GB, free: 68.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/7.605, allocations: 0 / 3.158 GB, free: 68.77 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/7.606, allocations: 459 kB / 3.158 GB, free: 68.31 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/7.608, allocations: 231.8 kB / 3.159 GB, free: 68.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/7.614, allocations: 1.505 MB / 3.16 GB, free: 66.54 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/7.614, allocations: 1.008 MB / 3.161 GB, free: 65.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00131/7.616, allocations: 261.9 kB / 3.161 GB, free: 65.24 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/7.616, allocations: 335.3 kB / 3.162 GB, free: 64.92 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/7.616, allocations: 0 / 3.162 GB, free: 64.92 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08067/7.697, allocations: 30.13 MB / 3.191 GB, free: 35.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/7.698, allocations: 263.7 kB / 3.191 GB, free: 34.7 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.o] Error 1