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.151/2.151, allocations: 251 MB / 265.9 MB, free: 11.65 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.001527/0.001526, allocations: 175.9 kB / 325.5 MB, free: 2.863 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.299/2.299, allocations: 205.4 MB / 0.5764 GB, free: 20.75 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.001163/0.001163, allocations: 91.8 kB / 0.6809 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004834, allocations: 16.47 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.001/7.216, allocations: 2.196 GB / 3.095 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/7.217, allocations: 92.62 kB / 3.095 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2888/7.506, allocations: 75.39 MB / 3.169 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.416e-06/7.506, allocations: 0 / 3.169 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000114/7.506, allocations: 23.44 kB / 3.169 GB, free: 233.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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004465/7.51, allocations: 1.469 MB / 3.17 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/7.51, allocations: 7.812 kB / 3.17 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006161/7.511, allocations: 187.5 kB / 3.171 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/7.526, allocations: 1.342 MB / 3.172 GB, free: 232 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/7.529, allocations: 0.8777 MB / 3.173 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/7.529, allocations: 83.59 kB / 3.173 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004239/7.529, allocations: 119 kB / 3.173 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009479/7.539, allocations: 2.143 MB / 3.175 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.535e-05/7.539, allocations: 0 / 3.175 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003148/7.539, allocations: 54.08 kB / 3.175 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/7.539, allocations: 31.12 kB / 3.175 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/7.554, allocations: 3.101 MB / 3.178 GB, free: 230 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/7.569, allocations: 4.548 MB / 3.183 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/7.585, allocations: 3.041 MB / 3.185 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006694/7.586, allocations: 0.6049 MB / 3.186 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006938/7.593, allocations: 1.44 MB / 3.187 GB, free: 226 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=121): time 5.039e-06/7.593, allocations: 0 / 3.187 GB, free: 226 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121): time 0.02196/7.615, allocations: 3.794 MB / 3.191 GB, free: 225 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/7.615, allocations: 243.8 kB / 3.191 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/7.617, allocations: 0.7102 MB / 3.192 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004776/7.617, allocations: 48.39 kB / 3.192 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/7.617, allocations: 471.1 kB / 3.193 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/7.618, allocations: 409.1 kB / 3.193 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/7.618, allocations: 19.22 kB / 3.193 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/7.618, allocations: 344 kB / 3.193 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005994/7.624, allocations: 1.1 MB / 3.194 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00644/7.631, allocations: 1.248 MB / 3.196 GB, free: 223 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006216/7.637, allocations: 1.078 MB / 3.197 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/7.637, allocations: 0 / 3.197 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0142/7.651, allocations: 2.53 MB / 3.199 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/7.651, allocations: 6.375 kB / 3.199 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/7.651, allocations: 0 / 3.199 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009855/7.652, allocations: 88.48 kB / 3.199 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/7.657, allocations: 463.4 kB / 3.2 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/7.66, allocations: 1.549 MB / 3.201 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004171/7.664, allocations: 319.8 kB / 3.202 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003414/7.665, allocations: 53.19 kB / 3.202 GB, free: 220.4 MB / 0.8855 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 () * Number of clocked 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.001085/7.666, allocations: 334.8 kB / 3.202 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/7.666, allocations: 102.2 kB / 3.202 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01555/7.682, allocations: 2.978 MB / 3.205 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/7.682, allocations: 14.44 kB / 3.205 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/7.682, allocations: 7.953 kB / 3.205 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/7.682, allocations: 7.969 kB / 3.205 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/7.701, allocations: 4.823 MB / 3.21 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/7.701, allocations: 0 / 3.21 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00487/7.706, allocations: 464.1 kB / 3.21 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008852/7.707, allocations: 81.06 kB / 3.21 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003485/7.707, allocations: 49.53 kB / 3.21 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/7.71, allocations: 1.578 MB / 3.212 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/7.71, allocations: 0 / 3.212 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/7.724, allocations: 2.727 MB / 3.214 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/7.726, allocations: 466.9 kB / 3.215 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003711/7.726, allocations: 24.28 kB / 3.215 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003991/7.73, allocations: 279.7 kB / 3.215 GB, free: 215 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/7.73, allocations: 97.83 kB / 3.215 GB, free: 215 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/7.731, allocations: 53.02 kB / 3.215 GB, free: 215 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001178/7.732, allocations: 0.5847 MB / 3.216 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.21e-07/7.732, allocations: 0 / 3.216 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002299/7.734, allocations: 0.504 MB / 3.216 GB, free: 214.5 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 (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.02066/7.755, allocations: 4.239 MB / 3.22 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01357/7.769, allocations: 2.6 MB / 3.223 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/7.769, allocations: 0 / 3.223 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007028/7.776, allocations: 1.443 MB / 3.224 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/7.778, allocations: 267.9 kB / 3.225 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03957/7.818, allocations: 10.26 MB / 3.235 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/7.818, allocations: 1.164 MB / 3.236 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003232/7.822, allocations: 480.4 kB / 3.236 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/7.823, allocations: 0.5031 MB / 3.237 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.323e-06/7.823, allocations: 0 / 3.237 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/7.954, allocations: 38.97 MB / 3.275 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/7.955, allocations: 250.3 kB / 3.275 GB, free: 155.2 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_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: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_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: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_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