Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.26/2.26, allocations: 248.5 MB / 261 MB, free: 5.98 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.00143/0.00143, allocations: 174.6 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.884/1.884, 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.00105/0.00105, allocations: 100.2 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/4.003e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.215, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.246/7.461, allocations: 2.195 GB / 3.085 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/7.462, allocations: 97.05 kB / 3.085 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2885/7.75, allocations: 76.43 MB / 3.16 GB, free: 82.35 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/7.75, allocations: 0 / 3.16 GB, free: 82.35 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000107/7.75, allocations: 28 kB / 3.16 GB, free: 82.32 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003226/7.754, allocations: 1.3 MB / 3.161 GB, free: 80.97 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/7.754, allocations: 12.03 kB / 3.161 GB, free: 80.96 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003543/7.754, allocations: 173.1 kB / 3.162 GB, free: 80.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01399/7.768, allocations: 1.341 MB / 3.163 GB, free: 79.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/7.771, allocations: 0.8207 MB / 3.164 GB, free: 78.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/7.771, allocations: 86.25 kB / 3.164 GB, free: 78.48 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/7.771, allocations: 108 kB / 3.164 GB, free: 78.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00409/7.775, allocations: 1.547 MB / 3.165 GB, free: 76.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/7.775, allocations: 3.953 kB / 3.165 GB, free: 76.76 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/7.776, allocations: 48 kB / 3.165 GB, free: 76.71 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/7.776, allocations: 28 kB / 3.165 GB, free: 76.69 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005164/7.781, allocations: 1.952 MB / 3.167 GB, free: 74.73 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/7.794, allocations: 4.137 MB / 3.171 GB, free: 70.51 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005171/7.8, allocations: 1.789 MB / 3.173 GB, free: 68.71 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/7.802, allocations: 0.7014 MB / 3.174 GB, free: 68.01 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000659/7.803, allocations: 0.6064 MB / 3.174 GB, free: 67.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002545/7.805, allocations: 0.9533 MB / 3.175 GB, free: 66.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=120): time 4.769e-06/7.805, allocations: 0 / 3.175 GB, free: 66.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=120): time 0.005412/7.811, allocations: 1.528 MB / 3.177 GB, free: 64.76 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/7.811, allocations: 248.3 kB / 3.177 GB, free: 64.46 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/7.812, allocations: 0.6796 MB / 3.178 GB, free: 63.78 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004816/7.813, allocations: 49.7 kB / 3.178 GB, free: 63.72 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/7.813, allocations: 448.7 kB / 3.178 GB, free: 63.28 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00053/7.814, allocations: 398.1 kB / 3.179 GB, free: 62.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/7.814, allocations: 20 kB / 3.179 GB, free: 62.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001024/7.814, allocations: 345.9 kB / 3.179 GB, free: 62.52 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/7.816, allocations: 0.5921 MB / 3.18 GB, free: 61.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/7.818, allocations: 0.7423 MB / 3.18 GB, free: 61.15 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/7.82, allocations: 0.5982 MB / 3.181 GB, free: 60.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/7.82, allocations: 4 kB / 3.181 GB, free: 60.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005502/7.825, allocations: 1.536 MB / 3.182 GB, free: 59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/7.825, allocations: 11.98 kB / 3.182 GB, free: 58.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/7.825, allocations: 0 / 3.182 GB, free: 58.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009824/7.826, allocations: 96.69 kB / 3.182 GB, free: 58.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004707/7.831, allocations: 459.3 kB / 3.183 GB, free: 58.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/7.834, allocations: 1.521 MB / 3.184 GB, free: 56.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004007/7.838, allocations: 322.8 kB / 3.185 GB, free: 56.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004435/7.839, allocations: 63.92 kB / 3.185 GB, free: 56.4 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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.0004894/7.839, allocations: 164.8 kB / 3.185 GB, free: 56.23 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004342/7.839, allocations: 102.7 kB / 3.185 GB, free: 56.13 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007108/7.847, allocations: 1.996 MB / 3.187 GB, free: 54.12 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/7.847, allocations: 12 kB / 3.187 GB, free: 54.11 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/7.847, allocations: 4 kB / 3.187 GB, free: 54.11 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.96e-05/7.847, allocations: 11.97 kB / 3.187 GB, free: 54.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/7.857, allocations: 3.566 MB / 3.19 GB, free: 50.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/7.857, allocations: 4 kB / 3.19 GB, free: 50.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00472/7.862, allocations: 459.3 kB / 3.191 GB, free: 50.01 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009115/7.863, allocations: 88.77 kB / 3.191 GB, free: 49.92 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005064/7.864, allocations: 51.91 kB / 3.191 GB, free: 49.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/7.866, allocations: 1.544 MB / 3.193 GB, free: 48.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/7.866, allocations: 0 / 3.193 GB, free: 48.19 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005798/7.872, allocations: 1.739 MB / 3.194 GB, free: 46.43 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/7.874, allocations: 435.2 kB / 3.195 GB, free: 45.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/7.874, allocations: 20 kB / 3.195 GB, free: 45.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003816/7.878, allocations: 283.7 kB / 3.195 GB, free: 45.69 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/7.878, allocations: 85.19 kB / 3.195 GB, free: 45.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/7.878, allocations: 59.94 kB / 3.195 GB, free: 45.55 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001099/7.879, allocations: 0.5538 MB / 3.196 GB, free: 45 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.41e-07/7.879, allocations: 0 / 3.196 GB, free: 45 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002187/7.882, allocations: 0.4989 MB / 3.196 GB, free: 44.5 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * 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.007761/7.889, allocations: 3.21 MB / 3.199 GB, free: 41.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004761/7.894, allocations: 1.601 MB / 3.201 GB, free: 39.79 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/7.894, allocations: 4 kB / 3.201 GB, free: 39.79 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/7.897, allocations: 0.9353 MB / 3.202 GB, free: 38.84 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/7.899, allocations: 260.1 kB / 3.202 GB, free: 38.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008416/7.907, allocations: 2.335 MB / 3.204 GB, free: 36.21 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/7.908, allocations: 1.148 MB / 3.205 GB, free: 35.03 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003015/7.911, allocations: 464.2 kB / 3.206 GB, free: 34.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/7.913, allocations: 0.4992 MB / 3.206 GB, free: 34.07 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/7.913, allocations: 0 / 3.206 GB, free: 34.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6948/8.608, allocations: 39.63 MB / 3.245 GB, free: 266.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/8.608, allocations: 229 kB / 3.245 GB, free: 266 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_HeatTransfer_Windows_BaseClasses_Examples_SideFins.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_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_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_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_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_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_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o] Error 1