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.639/1.639, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001239/0.001239, allocations: 193 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.461/1.461, allocations: 205.4 MB / 0.6366 GB, free: 8.539 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.001205/0.001205, allocations: 93.11 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.244, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.365/5.609, allocations: 2.079 GB / 3.068 GB, free: 101.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/5.609, allocations: 87.45 kB / 3.068 GB, free: 101.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1593/5.769, allocations: 76.07 MB / 3.142 GB, free: 26.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.836e-06/5.769, allocations: 3.938 kB / 3.142 GB, free: 26.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.518e-05/5.769, allocations: 24 kB / 3.142 GB, free: 26.69 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.002631/5.771, allocations: 1.465 MB / 3.144 GB, free: 25.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/5.772, allocations: 16.02 kB / 3.144 GB, free: 25.15 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/5.772, allocations: 173.4 kB / 3.144 GB, free: 24.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007945/5.78, allocations: 1.348 MB / 3.145 GB, free: 23.62 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/5.782, allocations: 0.8871 MB / 3.146 GB, free: 22.69 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/5.782, allocations: 87.28 kB / 3.146 GB, free: 22.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/5.782, allocations: 108 kB / 3.146 GB, free: 22.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004714/5.787, allocations: 2.153 MB / 3.148 GB, free: 20.28 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/5.787, allocations: 0 / 3.148 GB, free: 20.28 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/5.787, allocations: 48 kB / 3.148 GB, free: 20.23 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/5.787, allocations: 28 kB / 3.148 GB, free: 20.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006885/5.794, allocations: 3.104 MB / 3.151 GB, free: 17.09 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008049/5.802, allocations: 4.55 MB / 3.156 GB, free: 12.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007072/5.809, allocations: 3.046 MB / 3.159 GB, free: 9.418 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004503/5.81, allocations: 0.6062 MB / 3.159 GB, free: 8.684 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003211/5.813, allocations: 1.445 MB / 3.161 GB, free: 7.219 MB / 0.948 GB Notification: Performance of pre-optimization done (n=121): time 3.457e-06/5.813, allocations: 0 / 3.161 GB, free: 7.219 MB / 0.948 GB Notification: Performance of matching and sorting (n=121): time 0.009979/5.823, allocations: 3.785 MB / 3.164 GB, free: 3.406 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/5.823, allocations: 248.3 kB / 3.165 GB, free: 3.109 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/5.824, allocations: 0.7147 MB / 3.165 GB, free: 2.387 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/5.824, allocations: 49.7 kB / 3.165 GB, free: 2.332 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/5.825, allocations: 460.7 kB / 3.166 GB, free: 1.875 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/5.825, allocations: 414.1 kB / 3.166 GB, free: 1.465 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.95e-05/5.825, allocations: 24 kB / 3.166 GB, free: 1.441 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/5.825, allocations: 341.9 kB / 3.167 GB, free: 1.102 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/5.828, allocations: 1.095 MB / 3.168 GB, free: 4 kB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5459/6.374, allocations: 1.242 MB / 3.169 GB, free: 244.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/6.377, allocations: 1.089 MB / 3.17 GB, free: 244.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-06/6.377, allocations: 0 / 3.17 GB, free: 244.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.007397/6.384, allocations: 2.525 MB / 3.172 GB, free: 244.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/6.384, allocations: 6.219 kB / 3.172 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/6.384, allocations: 1.531 kB / 3.172 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000655/6.385, allocations: 91.47 kB / 3.173 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/6.387, allocations: 462.2 kB / 3.173 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/6.39, allocations: 1.544 MB / 3.175 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/6.392, allocations: 321.1 kB / 3.175 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/6.392, allocations: 52.02 kB / 3.175 GB, free: 243.2 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 (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.0008276/6.393, allocations: 329.1 kB / 3.175 GB, free: 243.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/6.393, allocations: 104.5 kB / 3.175 GB, free: 243.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007794/6.401, allocations: 2.979 MB / 3.178 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/6.401, allocations: 12.59 kB / 3.178 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/6.401, allocations: 0.6562 kB / 3.178 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/6.401, allocations: 8.906 kB / 3.178 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/6.412, allocations: 4.809 MB / 3.183 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/6.412, allocations: 1.938 kB / 3.183 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0025/6.415, allocations: 465.4 kB / 3.183 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005681/6.415, allocations: 88.38 kB / 3.183 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/6.415, allocations: 48.89 kB / 3.183 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/6.417, allocations: 1.574 MB / 3.185 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/6.417, allocations: 0.9062 kB / 3.185 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007943/6.425, allocations: 2.729 MB / 3.188 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/6.426, allocations: 464.8 kB / 3.188 GB, free: 240.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/6.426, allocations: 25.2 kB / 3.188 GB, free: 240.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/6.428, allocations: 283.2 kB / 3.188 GB, free: 240.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/6.429, allocations: 89.23 kB / 3.189 GB, free: 240.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/6.429, allocations: 57.19 kB / 3.189 GB, free: 240.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008926/6.43, allocations: 0.5803 MB / 3.189 GB, free: 240.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/6.43, allocations: 0 / 3.189 GB, free: 240.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001693/6.431, allocations: 0.4991 MB / 3.19 GB, free: 240.8 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 (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.009626/6.441, allocations: 4.24 MB / 3.194 GB, free: 239.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006782/6.448, allocations: 2.606 MB / 3.196 GB, free: 239.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/6.448, allocations: 3.938 kB / 3.196 GB, free: 239.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003329/6.451, allocations: 1.451 MB / 3.198 GB, free: 239.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/6.452, allocations: 261.9 kB / 3.198 GB, free: 239.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/6.473, allocations: 10.27 MB / 3.208 GB, free: 236.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/6.473, allocations: 1.165 MB / 3.209 GB, free: 236.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001874/6.475, allocations: 469.5 kB / 3.21 GB, free: 236.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009105/6.476, allocations: 0.5136 MB / 3.21 GB, free: 236.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.452e-06/6.476, allocations: 2.188 kB / 3.21 GB, free: 236.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06103/6.537, allocations: 38.96 MB / 3.248 GB, free: 233.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/6.537, allocations: 248.6 kB / 3.248 GB, free: 233.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_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: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_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: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_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