Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.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.Examples.SideFins,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_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.207/2.207, allocations: 248.5 MB / 261.1 MB, free: 6.016 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.001457/0.001457, allocations: 182.7 kB / 320.4 MB, free: 15.32 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.976/1.976, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001055/0.001055, allocations: 94.42 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.734e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2263, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.347/7.573, allocations: 2.196 GB / 3.087 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/7.573, allocations: 85.34 kB / 3.087 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3212/7.895, allocations: 75.09 MB / 3.16 GB, free: 66.64 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.853e-06/7.895, allocations: 0 / 3.16 GB, free: 66.64 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001024/7.895, allocations: 24 kB / 3.16 GB, free: 66.61 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003244/7.898, allocations: 1.321 MB / 3.162 GB, free: 65.24 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/7.898, allocations: 12.03 kB / 3.162 GB, free: 65.23 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003705/7.898, allocations: 173.4 kB / 3.162 GB, free: 65.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0145/7.913, allocations: 1.344 MB / 3.163 GB, free: 63.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/7.916, allocations: 0.8794 MB / 3.164 GB, free: 62.78 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.614e-05/7.916, allocations: 90.34 kB / 3.164 GB, free: 62.69 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/7.916, allocations: 112 kB / 3.164 GB, free: 62.58 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0043/7.921, allocations: 1.654 MB / 3.166 GB, free: 60.86 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/7.921, allocations: 0 / 3.166 GB, free: 60.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/7.921, allocations: 51.95 kB / 3.166 GB, free: 60.81 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/7.921, allocations: 28 kB / 3.166 GB, free: 60.78 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005539/7.927, allocations: 2.125 MB / 3.168 GB, free: 58.65 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/7.941, allocations: 4.556 MB / 3.172 GB, free: 54.01 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006789/7.948, allocations: 2.008 MB / 3.174 GB, free: 51.99 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/7.95, allocations: 0.7808 MB / 3.175 GB, free: 51.21 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/7.951, allocations: 0.6101 MB / 3.176 GB, free: 50.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002772/7.954, allocations: 1.024 MB / 3.177 GB, free: 49.42 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=121): time 4.909e-06/7.954, allocations: 0 / 3.177 GB, free: 49.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121): time 0.005794/7.96, allocations: 1.672 MB / 3.178 GB, free: 47.74 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/7.96, allocations: 252.3 kB / 3.179 GB, free: 47.44 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/7.961, allocations: 0.7071 MB / 3.179 GB, free: 46.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000437/7.962, allocations: 45.7 kB / 3.179 GB, free: 46.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/7.962, allocations: 468.6 kB / 3.18 GB, free: 46.21 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005566/7.963, allocations: 394.2 kB / 3.18 GB, free: 45.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/7.963, allocations: 24 kB / 3.18 GB, free: 45.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/7.963, allocations: 345.9 kB / 3.181 GB, free: 45.45 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/7.965, allocations: 0.6781 MB / 3.181 GB, free: 44.77 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/7.967, allocations: 0.8243 MB / 3.182 GB, free: 43.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/7.969, allocations: 0.6647 MB / 3.183 GB, free: 43.25 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/7.969, allocations: 0 / 3.183 GB, free: 43.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005692/7.975, allocations: 1.692 MB / 3.184 GB, free: 41.55 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/7.975, allocations: 4 kB / 3.184 GB, free: 41.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/7.975, allocations: 4 kB / 3.184 GB, free: 41.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009846/7.976, allocations: 84.86 kB / 3.184 GB, free: 41.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004833/7.981, allocations: 467.3 kB / 3.185 GB, free: 41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/7.984, allocations: 1.544 MB / 3.186 GB, free: 39.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/7.988, allocations: 314.9 kB / 3.187 GB, free: 39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003385/7.988, allocations: 55.94 kB / 3.187 GB, free: 38.95 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 (126): * Single equations (assignments): 125 * 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.0004944/7.988, allocations: 160.8 kB / 3.187 GB, free: 38.78 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/7.989, allocations: 106.8 kB / 3.187 GB, free: 38.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006868/7.996, allocations: 2.141 MB / 3.189 GB, free: 36.52 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/7.996, allocations: 12 kB / 3.189 GB, free: 36.51 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/7.996, allocations: 3.953 kB / 3.189 GB, free: 36.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/7.996, allocations: 7.969 kB / 3.189 GB, free: 36.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/8.006, allocations: 3.978 MB / 3.193 GB, free: 32.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/8.007, allocations: 0 / 3.193 GB, free: 32.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004774/8.011, allocations: 467.4 kB / 3.193 GB, free: 32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000878/8.012, allocations: 80.78 kB / 3.193 GB, free: 31.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004153/8.013, allocations: 47.94 kB / 3.194 GB, free: 31.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/8.015, allocations: 1.563 MB / 3.195 GB, free: 30.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/8.015, allocations: 0 / 3.195 GB, free: 30.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005876/8.021, allocations: 1.879 MB / 3.197 GB, free: 28.27 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/8.022, allocations: 467.1 kB / 3.197 GB, free: 27.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/8.023, allocations: 27.94 kB / 3.197 GB, free: 27.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003824/8.026, allocations: 283.7 kB / 3.198 GB, free: 27.48 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/8.027, allocations: 89.19 kB / 3.198 GB, free: 27.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/8.027, allocations: 63.89 kB / 3.198 GB, free: 27.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001123/8.028, allocations: 0.5694 MB / 3.198 GB, free: 26.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/8.028, allocations: 4 kB / 3.198 GB, free: 26.77 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002369/8.031, allocations: 0.4989 MB / 3.199 GB, free: 26.27 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 (135): * Single equations (assignments): 132 * 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.008383/8.039, allocations: 3.351 MB / 3.202 GB, free: 23.04 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005264/8.044, allocations: 1.753 MB / 3.204 GB, free: 21.27 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/8.044, allocations: 0 / 3.204 GB, free: 21.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002983/8.047, allocations: 1.033 MB / 3.205 GB, free: 20.22 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/8.05, allocations: 267 kB / 3.205 GB, free: 19.96 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009411/8.059, allocations: 2.464 MB / 3.207 GB, free: 17.46 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/8.06, allocations: 1.168 MB / 3.209 GB, free: 16.26 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003304/8.063, allocations: 464.4 kB / 3.209 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/8.065, allocations: 0.5109 MB / 3.21 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of SimCode: time 1.342e-06/8.065, allocations: 0 / 3.21 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7251/8.79, allocations: 40.71 MB / 3.249 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/8.791, allocations: 221.7 kB / 3.25 GB, free: 262.2 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_Examples_SideFins.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_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_Examples_SideFins_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_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_Examples_SideFins_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_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_Examples_SideFins_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.o] Error 1