Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.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.Examples.SideFins,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_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.823/1.823, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.00118/0.00118, allocations: 177 kB / 371.6 MB, free: 3.383 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.841/1.841, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001121/0.001121, allocations: 89.17 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.662e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3137, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.811/7.125, allocations: 2.079 GB / 3.059 GB, free: 116.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000495/7.125, allocations: 87.86 kB / 3.059 GB, free: 116.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2438/7.369, allocations: 75.75 MB / 3.133 GB, free: 48.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.024e-06/7.369, allocations: 3.938 kB / 3.133 GB, free: 48.25 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001436/7.369, allocations: 24 kB / 3.133 GB, free: 48.22 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003347/7.373, allocations: 1.32 MB / 3.135 GB, free: 46.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/7.373, allocations: 12.03 kB / 3.135 GB, free: 46.84 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/7.373, allocations: 177.4 kB / 3.135 GB, free: 46.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007912/7.381, allocations: 1.344 MB / 3.136 GB, free: 45.31 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/7.383, allocations: 0.8832 MB / 3.137 GB, free: 44.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/7.383, allocations: 86.34 kB / 3.137 GB, free: 44.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/7.384, allocations: 112 kB / 3.137 GB, free: 44.19 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/7.386, allocations: 1.659 MB / 3.139 GB, free: 42.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/7.386, allocations: 0 / 3.139 GB, free: 42.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/7.387, allocations: 48 kB / 3.139 GB, free: 42.42 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/7.387, allocations: 28.75 kB / 3.139 GB, free: 42.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/7.39, allocations: 2.132 MB / 3.141 GB, free: 40.25 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008336/7.398, allocations: 4.558 MB / 3.145 GB, free: 35.64 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/7.401, allocations: 2 MB / 3.147 GB, free: 33.63 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/7.402, allocations: 0.7847 MB / 3.148 GB, free: 32.85 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/7.402, allocations: 0.6062 MB / 3.149 GB, free: 32.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/7.404, allocations: 1.037 MB / 3.15 GB, free: 31.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=121): time 5.04e-06/7.404, allocations: 0 / 3.15 GB, free: 31.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=121): time 0.003406/7.407, allocations: 1.672 MB / 3.151 GB, free: 29.38 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/7.407, allocations: 248.3 kB / 3.152 GB, free: 29.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/7.409, allocations: 0.7072 MB / 3.152 GB, free: 28.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/7.409, allocations: 49.69 kB / 3.152 GB, free: 28.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/7.409, allocations: 464.7 kB / 3.153 GB, free: 27.85 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/7.409, allocations: 398.1 kB / 3.153 GB, free: 27.45 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/7.41, allocations: 20 kB / 3.153 GB, free: 27.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001205/7.41, allocations: 349.9 kB / 3.153 GB, free: 27.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000996/7.411, allocations: 0.6781 MB / 3.154 GB, free: 26.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/7.412, allocations: 0.8243 MB / 3.155 GB, free: 25.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/7.413, allocations: 0.6646 MB / 3.156 GB, free: 24.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/7.413, allocations: 0 / 3.156 GB, free: 24.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003098/7.416, allocations: 1.692 MB / 3.157 GB, free: 23.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/7.416, allocations: 5.125 kB / 3.157 GB, free: 23.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/7.416, allocations: 4 kB / 3.157 GB, free: 23.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006206/7.417, allocations: 84.81 kB / 3.157 GB, free: 23.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/7.419, allocations: 463.3 kB / 3.158 GB, free: 22.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/7.421, allocations: 1.53 MB / 3.159 GB, free: 20.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/7.423, allocations: 326.8 kB / 3.16 GB, free: 20.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/7.423, allocations: 55.94 kB / 3.16 GB, free: 20.59 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 (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.0003834/7.424, allocations: 164.8 kB / 3.16 GB, free: 20.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/7.424, allocations: 106.9 kB / 3.16 GB, free: 20.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/7.428, allocations: 2.137 MB / 3.162 GB, free: 18.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/7.428, allocations: 12.84 kB / 3.162 GB, free: 18.15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/7.428, allocations: 4 kB / 3.162 GB, free: 18.15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/7.428, allocations: 3.984 kB / 3.162 GB, free: 18.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005996/7.434, allocations: 3.967 MB / 3.166 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/7.434, allocations: 7.953 kB / 3.166 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002175/7.436, allocations: 463.4 kB / 3.166 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004789/7.437, allocations: 84.7 kB / 3.166 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/7.437, allocations: 51.95 kB / 3.166 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/7.439, allocations: 1.556 MB / 3.168 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/7.439, allocations: 0.75 kB / 3.168 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/7.442, allocations: 1.887 MB / 3.17 GB, free: 9.914 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000823/7.443, allocations: 467.2 kB / 3.17 GB, free: 9.438 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/7.443, allocations: 24 kB / 3.17 GB, free: 9.414 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/7.445, allocations: 283.7 kB / 3.171 GB, free: 9.137 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/7.445, allocations: 89.17 kB / 3.171 GB, free: 9.047 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/7.445, allocations: 55.95 kB / 3.171 GB, free: 8.992 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008467/7.446, allocations: 0.5733 MB / 3.171 GB, free: 8.422 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/7.446, allocations: 1.406 kB / 3.171 GB, free: 8.422 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001804/7.448, allocations: 0.495 MB / 3.172 GB, free: 7.926 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 (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.005764/7.454, allocations: 3.364 MB / 3.175 GB, free: 4.656 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003084/7.457, allocations: 1.765 MB / 3.177 GB, free: 2.875 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/7.457, allocations: 0 / 3.177 GB, free: 2.875 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/7.459, allocations: 1.017 MB / 3.178 GB, free: 1.844 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/7.46, allocations: 279.5 kB / 3.178 GB, free: 1.586 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6637/8.124, allocations: 2.47 MB / 3.18 GB, free: 243.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/8.125, allocations: 1.166 MB / 3.182 GB, free: 242.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002124/8.127, allocations: 465.1 kB / 3.182 GB, free: 242.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/8.128, allocations: 0.509 MB / 3.182 GB, free: 242.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.332e-06/8.128, allocations: 0 / 3.182 GB, free: 242.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09871/8.227, allocations: 40.73 MB / 3.222 GB, free: 240.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/8.227, allocations: 219.8 kB / 3.222 GB, free: 240.7 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_Examples_SideFins.o Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins.c:7: In file included from ./Buildings_8_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 -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_Examples_SideFins_functions.o Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_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_Examples_SideFins_functions.o] Error 1