Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 289.7 MB / 302.2 MB, free: 2.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 174.7 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 87.27 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.671e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3086, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.099/6.408, allocations: 2.078 GB / 3.058 GB, free: 163.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/6.408, allocations: 90.09 kB / 3.058 GB, free: 163.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.163/6.571, allocations: 77.11 MB / 3.133 GB, free: 85.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.555e-06/6.571, allocations: 4 kB / 3.133 GB, free: 85.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.693e-05/6.571, allocations: 32 kB / 3.133 GB, free: 85.95 MB / 0.948 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.002276/6.574, allocations: 1.292 MB / 3.134 GB, free: 84.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/6.574, allocations: 8.031 kB / 3.134 GB, free: 84.59 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001836/6.574, allocations: 169.2 kB / 3.134 GB, free: 84.42 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007566/6.581, allocations: 1.342 MB / 3.136 GB, free: 83.07 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/6.583, allocations: 0.8169 MB / 3.137 GB, free: 82.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-05/6.583, allocations: 82.27 kB / 3.137 GB, free: 82.13 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/6.584, allocations: 112 kB / 3.137 GB, free: 82.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/6.586, allocations: 1.547 MB / 3.138 GB, free: 80.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/6.586, allocations: 0 / 3.138 GB, free: 80.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/6.586, allocations: 52 kB / 3.138 GB, free: 80.36 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/6.586, allocations: 31.95 kB / 3.138 GB, free: 80.33 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002624/6.589, allocations: 1.952 MB / 3.14 GB, free: 78.37 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007249/6.596, allocations: 4.147 MB / 3.144 GB, free: 74.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/6.599, allocations: 1.789 MB / 3.146 GB, free: 72.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009115/6.599, allocations: 0.6949 MB / 3.147 GB, free: 71.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004218/6.6, allocations: 0.6062 MB / 3.147 GB, free: 70.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/6.601, allocations: 0.9525 MB / 3.148 GB, free: 69.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=120): time 3.707e-06/6.601, allocations: 0 / 3.148 GB, free: 69.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=120): time 0.002938/6.604, allocations: 1.532 MB / 3.15 GB, free: 68.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/6.604, allocations: 244.3 kB / 3.15 GB, free: 68.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008983/6.605, allocations: 0.6797 MB / 3.151 GB, free: 67.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/6.605, allocations: 49.7 kB / 3.151 GB, free: 67.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/6.606, allocations: 445.6 kB / 3.151 GB, free: 66.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/6.606, allocations: 398.2 kB / 3.152 GB, free: 66.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/6.606, allocations: 20 kB / 3.152 GB, free: 66.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/6.606, allocations: 349.9 kB / 3.152 GB, free: 66.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008659/6.607, allocations: 0.6 MB / 3.152 GB, free: 65.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009321/6.608, allocations: 0.7383 MB / 3.153 GB, free: 64.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/6.609, allocations: 0.5982 MB / 3.154 GB, free: 64.22 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/6.609, allocations: 0 / 3.154 GB, free: 64.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002856/6.612, allocations: 1.543 MB / 3.155 GB, free: 62.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/6.612, allocations: 4 kB / 3.155 GB, free: 62.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/6.612, allocations: 4.938 kB / 3.155 GB, free: 62.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/6.612, allocations: 92.78 kB / 3.155 GB, free: 62.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/6.614, allocations: 455.3 kB / 3.156 GB, free: 62.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/6.616, allocations: 1.534 MB / 3.157 GB, free: 60.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/6.618, allocations: 318.9 kB / 3.158 GB, free: 60.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/6.618, allocations: 51.94 kB / 3.158 GB, free: 60.08 MB / 0.948 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.0003305/6.619, allocations: 164.7 kB / 3.158 GB, free: 59.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/6.619, allocations: 102.7 kB / 3.158 GB, free: 59.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/6.623, allocations: 2 MB / 3.16 GB, free: 57.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/6.623, allocations: 16 kB / 3.16 GB, free: 57.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/6.623, allocations: 0 / 3.16 GB, free: 57.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/6.623, allocations: 7.969 kB / 3.16 GB, free: 57.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/6.628, allocations: 3.577 MB / 3.163 GB, free: 54.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/6.628, allocations: 5.062 kB / 3.163 GB, free: 54.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/6.63, allocations: 463.4 kB / 3.164 GB, free: 53.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004819/6.631, allocations: 84.77 kB / 3.164 GB, free: 53.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/6.631, allocations: 47.95 kB / 3.164 GB, free: 53.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/6.632, allocations: 1.552 MB / 3.165 GB, free: 51.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/6.632, allocations: 0 / 3.165 GB, free: 51.85 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/6.635, allocations: 1.738 MB / 3.167 GB, free: 50.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007339/6.636, allocations: 435.1 kB / 3.168 GB, free: 49.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/6.636, allocations: 28 kB / 3.168 GB, free: 49.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/6.638, allocations: 279.7 kB / 3.168 GB, free: 49.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/6.638, allocations: 85.19 kB / 3.168 GB, free: 49.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/6.638, allocations: 59.94 kB / 3.168 GB, free: 49.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006758/6.639, allocations: 0.5514 MB / 3.169 GB, free: 48.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/6.639, allocations: 4 kB / 3.169 GB, free: 48.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001431/6.641, allocations: 0.4951 MB / 3.169 GB, free: 48.16 MB / 0.948 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.004764/6.645, allocations: 3.216 MB / 3.172 GB, free: 45.04 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002509/6.648, allocations: 1.597 MB / 3.174 GB, free: 43.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/6.648, allocations: 0 / 3.174 GB, free: 43.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/6.649, allocations: 0.9392 MB / 3.175 GB, free: 42.47 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/6.651, allocations: 260.2 kB / 3.175 GB, free: 42.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/6.656, allocations: 2.335 MB / 3.177 GB, free: 39.85 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/6.656, allocations: 1.143 MB / 3.178 GB, free: 38.68 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001649/6.658, allocations: 468.2 kB / 3.179 GB, free: 38.21 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008727/6.659, allocations: 0.4914 MB / 3.179 GB, free: 37.72 MB / 0.948 GB Notification: Performance of SimCode: time 1.914e-06/6.659, allocations: 0 / 3.179 GB, free: 37.72 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6006/7.259, allocations: 39.64 MB / 3.218 GB, free: 240.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/7.259, allocations: 227.7 kB / 3.218 GB, free: 240.3 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c:7: In file included from ./Buildings_8_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 -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o] Error 1