Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.Overhang.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.Examples.Overhang,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang",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.129/2.129, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002125/0.002125, allocations: 181.8 kB / 325.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.4 MB / 0.5764 GB, free: 21.14 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.001123/0.001122, allocations: 109.3 kB / 0.6809 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007179/0.000718, allocations: 15.59 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2158, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.922/7.138, allocations: 2.197 GB / 3.096 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/7.139, allocations: 91.56 kB / 3.096 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2946/7.433, allocations: 78.73 MB / 3.173 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.076e-06/7.433, allocations: 0 / 3.173 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001035/7.433, allocations: 31.44 kB / 3.173 GB, free: 232.7 MB / 0.8855 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.004508/7.438, allocations: 1.493 MB / 3.175 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/7.438, allocations: 11.72 kB / 3.175 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004686/7.438, allocations: 171.5 kB / 3.175 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1531/7.592, allocations: 14.26 MB / 3.189 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/7.595, allocations: 1.172 MB / 3.19 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004089/7.596, allocations: 177 kB / 3.19 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008264/7.597, allocations: 113.2 kB / 3.19 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06948/7.666, allocations: 9.102 MB / 3.199 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/7.666, allocations: 11.83 kB / 3.199 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005316/7.667, allocations: 45.38 kB / 3.199 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/7.667, allocations: 31.72 kB / 3.199 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1355/7.802, allocations: 16.66 MB / 3.215 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07863/7.881, allocations: 11.2 MB / 3.226 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07891/7.96, allocations: 9.573 MB / 3.236 GB, free: 195.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006557/7.961, allocations: 0.6012 MB / 3.236 GB, free: 194.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06681/8.028, allocations: 8.29 MB / 3.244 GB, free: 187.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 4.929e-06/8.028, allocations: 0 / 3.244 GB, free: 187.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=103): time 0.1994/8.227, allocations: 22.81 MB / 3.267 GB, free: 166 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/8.227, allocations: 248.3 kB / 3.267 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/8.229, allocations: 0.6993 MB / 3.268 GB, free: 165 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007959/8.23, allocations: 45.7 kB / 3.268 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/8.23, allocations: 484.3 kB / 3.268 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000762/8.231, allocations: 343 kB / 3.268 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005713/8.231, allocations: 20 kB / 3.268 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/8.231, allocations: 341.9 kB / 3.269 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06566/8.297, allocations: 7.853 MB / 3.276 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06637/8.364, allocations: 7.989 MB / 3.284 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08344/8.447, allocations: 6.855 MB / 3.291 GB, free: 141 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/8.447, allocations: 0 / 3.291 GB, free: 141 MB / 0.8855 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.1777/8.625, allocations: 15.13 MB / 3.306 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/8.625, allocations: 8.062 kB / 3.306 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/8.625, allocations: 4 kB / 3.306 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/8.626, allocations: 84.72 kB / 3.306 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04533/8.672, allocations: 3.332 MB / 3.309 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003638/8.675, allocations: 1.552 MB / 3.311 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04373/8.719, allocations: 3.124 MB / 3.314 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/8.72, allocations: 95.81 kB / 3.314 GB, free: 117.5 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.002164/8.722, allocations: 309.6 kB / 3.314 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/8.723, allocations: 94.78 kB / 3.314 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1702/8.894, allocations: 15.69 MB / 3.329 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/8.894, allocations: 12 kB / 3.329 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/8.894, allocations: 0 / 3.329 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.023e-05/8.894, allocations: 7.969 kB / 3.329 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1378/9.032, allocations: 18.34 MB / 3.347 GB, free: 82.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/9.032, allocations: 3.984 kB / 3.347 GB, free: 82.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03809/9.07, allocations: 3.336 MB / 3.351 GB, free: 79.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/9.071, allocations: 88.8 kB / 3.351 GB, free: 79.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001123/9.072, allocations: 87.77 kB / 3.351 GB, free: 79.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/9.076, allocations: 1.579 MB / 3.352 GB, free: 77.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/9.076, allocations: 0 / 3.352 GB, free: 77.66 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1453/9.221, allocations: 15.13 MB / 3.367 GB, free: 62.49 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/9.224, allocations: 0.7567 MB / 3.368 GB, free: 61.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007346/9.224, allocations: 24 kB / 3.368 GB, free: 61.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03442/9.259, allocations: 3.094 MB / 3.371 GB, free: 58.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/9.259, allocations: 84.88 kB / 3.371 GB, free: 58.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005996/9.26, allocations: 99.78 kB / 3.371 GB, free: 58.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001164/9.261, allocations: 0.5771 MB / 3.372 GB, free: 57.83 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/9.261, allocations: 0 / 3.372 GB, free: 57.83 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003645/9.265, allocations: 0.6786 MB / 3.372 GB, free: 57.15 MB / 0.8855 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 (123): * Single equations (assignments): 120 * 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.1341/9.399, allocations: 16.64 MB / 3.389 GB, free: 40.65 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.1403/9.539, allocations: 16.02 MB / 3.404 GB, free: 24.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/9.539, allocations: 3.938 kB / 3.404 GB, free: 24.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.06692/9.606, allocations: 8.105 MB / 3.412 GB, free: 16.48 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/9.609, allocations: 263.8 kB / 3.412 GB, free: 16.22 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09859/9.707, allocations: 11.1 MB / 3.423 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/9.708, allocations: 1.155 MB / 3.424 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009373/9.718, allocations: 0.6797 MB / 3.425 GB, free: 3.176 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004786/9.723, allocations: 0.5927 MB / 3.426 GB, free: 2.582 MB / 0.8855 GB Notification: Performance of SimCode: time 1.493e-06/9.723, allocations: 0 / 3.426 GB, free: 2.582 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7704/10.49, allocations: 52.65 MB / 3.477 GB, free: 286.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/10.49, allocations: 250.1 kB / 3.477 GB, free: 286.3 MB / 0.8855 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_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_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_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_Examples_Overhang_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o] Error 1