Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.653/2.653, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.00151/0.00151, allocations: 183.1 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 89.73 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004848, allocations: 16.11 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2202, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.69/6.91, allocations: 2.078 GB / 3.057 GB, free: 196.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/6.91, allocations: 85.95 kB / 3.057 GB, free: 196.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.283/7.193, allocations: 75.75 MB / 3.131 GB, free: 129.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.725e-06/7.193, allocations: 0 / 3.131 GB, free: 129.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001022/7.193, allocations: 28 kB / 3.131 GB, free: 129.4 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.004015/7.197, allocations: 1.475 MB / 3.132 GB, free: 127.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/7.197, allocations: 12.02 kB / 3.132 GB, free: 127.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006461/7.198, allocations: 185.3 kB / 3.132 GB, free: 127.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/7.213, allocations: 1.344 MB / 3.134 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/7.216, allocations: 0.8793 MB / 3.134 GB, free: 125.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.798e-05/7.216, allocations: 90.33 kB / 3.135 GB, free: 125.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003657/7.216, allocations: 116 kB / 3.135 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009199/7.225, allocations: 2.149 MB / 3.137 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.785e-05/7.225, allocations: 0 / 3.137 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/7.226, allocations: 51.98 kB / 3.137 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/7.226, allocations: 31.95 kB / 3.137 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/7.24, allocations: 3.096 MB / 3.14 GB, free: 119.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/7.255, allocations: 4.545 MB / 3.144 GB, free: 115.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/7.27, allocations: 3.046 MB / 3.147 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006508/7.271, allocations: 0.6062 MB / 3.148 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006683/7.278, allocations: 1.453 MB / 3.149 GB, free: 109.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=121): time 5.3e-06/7.278, allocations: 0 / 3.149 GB, free: 109.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=121): time 0.02092/7.299, allocations: 3.777 MB / 3.153 GB, free: 106.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.214e-05/7.299, allocations: 252.3 kB / 3.153 GB, free: 105.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/7.3, allocations: 0.7148 MB / 3.154 GB, free: 105.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004439/7.301, allocations: 49.7 kB / 3.154 GB, free: 105.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/7.301, allocations: 468.6 kB / 3.154 GB, free: 104.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005868/7.302, allocations: 398.1 kB / 3.155 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/7.302, allocations: 20 kB / 3.155 GB, free: 104.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.536e-05/7.302, allocations: 345.9 kB / 3.155 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005922/7.308, allocations: 1.099 MB / 3.156 GB, free: 102.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006306/7.314, allocations: 1.246 MB / 3.157 GB, free: 101.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/7.32, allocations: 1.081 MB / 3.158 GB, free: 100.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/7.321, allocations: 0 / 3.158 GB, free: 100.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01397/7.335, allocations: 2.531 MB / 3.161 GB, free: 97.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/7.335, allocations: 8 kB / 3.161 GB, free: 97.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/7.335, allocations: 0 / 3.161 GB, free: 97.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009827/7.336, allocations: 92.8 kB / 3.161 GB, free: 97.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004757/7.34, allocations: 467.3 kB / 3.161 GB, free: 97.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/7.343, allocations: 1.544 MB / 3.163 GB, free: 95.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004004/7.347, allocations: 318.8 kB / 3.163 GB, free: 95.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/7.347, allocations: 55.94 kB / 3.163 GB, free: 95.21 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.001069/7.349, allocations: 329.5 kB / 3.164 GB, free: 94.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/7.349, allocations: 102.8 kB / 3.164 GB, free: 94.77 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/7.364, allocations: 2.975 MB / 3.167 GB, free: 91.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/7.364, allocations: 12 kB / 3.167 GB, free: 91.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/7.364, allocations: 4 kB / 3.167 GB, free: 91.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.601e-05/7.364, allocations: 11.92 kB / 3.167 GB, free: 91.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/7.383, allocations: 4.821 MB / 3.171 GB, free: 86.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/7.383, allocations: 0 / 3.171 GB, free: 86.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00474/7.388, allocations: 467.3 kB / 3.172 GB, free: 86.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008875/7.389, allocations: 80.78 kB / 3.172 GB, free: 86.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003172/7.389, allocations: 55.94 kB / 3.172 GB, free: 86.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/7.391, allocations: 1.571 MB / 3.174 GB, free: 84.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/7.391, allocations: 64 / 3.174 GB, free: 84.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/7.405, allocations: 2.73 MB / 3.176 GB, free: 81.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/7.407, allocations: 467.1 kB / 3.177 GB, free: 81.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/7.407, allocations: 24 kB / 3.177 GB, free: 81.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004076/7.411, allocations: 283.7 kB / 3.177 GB, free: 81.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/7.412, allocations: 93.19 kB / 3.177 GB, free: 80.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002727/7.412, allocations: 55.94 kB / 3.177 GB, free: 80.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001152/7.413, allocations: 0.5771 MB / 3.178 GB, free: 80.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.1e-07/7.413, allocations: 0 / 3.178 GB, free: 80.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002342/7.416, allocations: 0.4989 MB / 3.178 GB, free: 79.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 (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.01639/7.432, allocations: 4.227 MB / 3.182 GB, free: 75.74 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01309/7.445, allocations: 2.608 MB / 3.185 GB, free: 73.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/7.445, allocations: 0 / 3.185 GB, free: 73.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006869/7.452, allocations: 1.45 MB / 3.186 GB, free: 71.66 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/7.454, allocations: 273.6 kB / 3.186 GB, free: 71.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03901/7.493, allocations: 10.26 MB / 3.196 GB, free: 60.94 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008029/7.494, allocations: 1.167 MB / 3.198 GB, free: 59.74 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003199/7.498, allocations: 476.4 kB / 3.198 GB, free: 59.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/7.499, allocations: 0.5031 MB / 3.199 GB, free: 58.77 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/7.499, allocations: 0 / 3.199 GB, free: 58.77 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09886/7.598, allocations: 38.96 MB / 3.237 GB, free: 20.07 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/7.598, allocations: 242.2 kB / 3.237 GB, free: 19.74 MB / 0.948 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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins.c:7: In file included from ./Buildings_8_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.o] Error 1