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.658/1.658, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001075/0.001075, allocations: 183.5 kB / 377.1 MB, free: 1.523 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.507/1.507, allocations: 205.4 MB / 0.6366 GB, free: 8.562 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.0008045/0.0008045, allocations: 93.45 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2488, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.085/5.334, allocations: 2.078 GB / 3.066 GB, free: 141.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/5.334, allocations: 97.31 kB / 3.066 GB, free: 141.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1662/5.5, allocations: 77.43 MB / 3.142 GB, free: 63.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.739e-06/5.5, allocations: 0 / 3.142 GB, free: 63.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001033/5.5, allocations: 28 kB / 3.142 GB, free: 63.88 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.002938/5.503, allocations: 1.433 MB / 3.143 GB, free: 62.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/5.503, allocations: 12.02 kB / 3.143 GB, free: 62.37 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/5.504, allocations: 173.2 kB / 3.144 GB, free: 62.19 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007805/5.511, allocations: 1.344 MB / 3.145 GB, free: 60.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/5.514, allocations: 0.8207 MB / 3.146 GB, free: 59.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.07e-05/5.514, allocations: 82.27 kB / 3.146 GB, free: 59.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/5.514, allocations: 108.9 kB / 3.146 GB, free: 59.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004604/5.519, allocations: 2.042 MB / 3.148 GB, free: 57.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/5.519, allocations: 0 / 3.148 GB, free: 57.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/5.519, allocations: 48 kB / 3.148 GB, free: 57.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/5.519, allocations: 39.94 kB / 3.148 GB, free: 57.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006377/5.525, allocations: 2.924 MB / 3.151 GB, free: 54.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006934/5.532, allocations: 4.12 MB / 3.155 GB, free: 50.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/5.539, allocations: 2.822 MB / 3.158 GB, free: 47.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004361/5.539, allocations: 0.6062 MB / 3.158 GB, free: 46.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002973/5.542, allocations: 1.369 MB / 3.159 GB, free: 45.53 MB / 0.948 GB Notification: Performance of pre-optimization done (n=120): time 3.005e-06/5.542, allocations: 0 / 3.159 GB, free: 45.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=120): time 0.009599/5.552, allocations: 3.558 MB / 3.163 GB, free: 41.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/5.552, allocations: 252.3 kB / 3.163 GB, free: 41.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009355/5.553, allocations: 0.6873 MB / 3.164 GB, free: 40.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/5.553, allocations: 45.7 kB / 3.164 GB, free: 40.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/5.553, allocations: 452.8 kB / 3.164 GB, free: 40.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/5.554, allocations: 399.6 kB / 3.165 GB, free: 40.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.704e-05/5.554, allocations: 20 kB / 3.165 GB, free: 40.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/5.554, allocations: 345.9 kB / 3.165 GB, free: 39.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/5.556, allocations: 1.017 MB / 3.166 GB, free: 38.67 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/5.559, allocations: 1.16 MB / 3.167 GB, free: 37.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/5.562, allocations: 1.014 MB / 3.168 GB, free: 36.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/5.562, allocations: 0 / 3.168 GB, free: 36.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.006179/5.568, allocations: 2.386 MB / 3.171 GB, free: 34.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/5.568, allocations: 4 kB / 3.171 GB, free: 34.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/5.568, allocations: 4 kB / 3.171 GB, free: 34.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/5.568, allocations: 80.84 kB / 3.171 GB, free: 33.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/5.571, allocations: 463.3 kB / 3.171 GB, free: 33.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/5.573, allocations: 1.556 MB / 3.173 GB, free: 31.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/5.575, allocations: 322.8 kB / 3.173 GB, free: 31.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/5.575, allocations: 55.94 kB / 3.173 GB, free: 31.44 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 () * Number of clocked 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.0007577/5.576, allocations: 310.9 kB / 3.173 GB, free: 31.13 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/5.576, allocations: 106.7 kB / 3.173 GB, free: 31.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006981/5.583, allocations: 2.836 MB / 3.176 GB, free: 28.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/5.583, allocations: 12 kB / 3.176 GB, free: 28.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/5.583, allocations: 4 kB / 3.176 GB, free: 28.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/5.583, allocations: 15.95 kB / 3.176 GB, free: 28.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009012/5.592, allocations: 4.416 MB / 3.18 GB, free: 23.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/5.592, allocations: 0 / 3.18 GB, free: 23.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/5.594, allocations: 463.4 kB / 3.181 GB, free: 23.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/5.595, allocations: 84.78 kB / 3.181 GB, free: 23.12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/5.595, allocations: 43.94 kB / 3.181 GB, free: 23.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/5.596, allocations: 1.575 MB / 3.183 GB, free: 21.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/5.596, allocations: 8.016 kB / 3.183 GB, free: 21.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006284/5.603, allocations: 2.577 MB / 3.185 GB, free: 18.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008258/5.604, allocations: 431.1 kB / 3.185 GB, free: 18.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/5.604, allocations: 28 kB / 3.186 GB, free: 18.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/5.606, allocations: 284.6 kB / 3.186 GB, free: 18.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/5.606, allocations: 85.19 kB / 3.186 GB, free: 17.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/5.606, allocations: 59.94 kB / 3.186 GB, free: 17.87 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007273/5.607, allocations: 0.5654 MB / 3.186 GB, free: 17.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/5.607, allocations: 0 / 3.186 GB, free: 17.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00151/5.608, allocations: 495 kB / 3.187 GB, free: 16.82 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) * Number of clocked states: 0 () * 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.008539/5.617, allocations: 4.094 MB / 3.191 GB, free: 12.83 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006281/5.623, allocations: 2.436 MB / 3.193 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/5.623, allocations: 4 kB / 3.193 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003122/5.626, allocations: 1.365 MB / 3.195 GB, free: 9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/5.628, allocations: 256 kB / 3.195 GB, free: 8.758 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5196/6.147, allocations: 9.763 MB / 3.204 GB, free: 242.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000728/6.148, allocations: 1.151 MB / 3.206 GB, free: 241.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002246/6.15, allocations: 464.2 kB / 3.206 GB, free: 241.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009347/6.151, allocations: 0.4944 MB / 3.206 GB, free: 241.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/6.151, allocations: 0 / 3.206 GB, free: 241.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07785/6.229, allocations: 37.87 MB / 3.243 GB, free: 239.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/6.229, allocations: 256 kB / 3.244 GB, free: 239.4 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 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: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 -falign-functions -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 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: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_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