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.76/2.76, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001585/0.001585, allocations: 173.1 kB / 370.8 MB, free: 10.86 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.206/2.206, 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.001159/0.001159, allocations: 96.25 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007509/0.0007512, allocations: 15.53 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.258, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.00658/0.2647, allocations: 4.197 MB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9162/1.181, allocations: 127.6 MB / 1.107 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/1.182, allocations: 23.38 kB / 1.107 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004564/1.182, allocations: 92.61 kB / 1.107 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002533/1.185, allocations: 492.2 kB / 1.108 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003121/1.188, allocations: 0.6904 MB / 1.108 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002798/1.191, allocations: 1.038 MB / 1.109 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/1.192, allocations: 0.64 MB / 1.11 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/1.194, allocations: 439.7 kB / 1.11 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008964/1.195, allocations: 460.5 kB / 1.111 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/1.195, allocations: 35.5 kB / 1.111 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/1.196, allocations: 359.9 kB / 1.111 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004216/1.197, allocations: 264.1 kB / 1.111 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005092/1.197, allocations: 251.3 kB / 1.112 GB, free: 17.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003719/1.201, allocations: 1.581 MB / 1.113 GB, free: 16.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.201, allocations: 4 kB / 1.113 GB, free: 16.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.196e-06/1.201, allocations: 1.344 kB / 1.113 GB, free: 16.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.53e-05/1.201, allocations: 0 / 1.113 GB, free: 16.94 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.00522/1.206, allocations: 1.45 MB / 1.115 GB, free: 16.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.206, allocations: 11.44 kB / 1.115 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006639/1.207, allocations: 190 kB / 1.115 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/1.225, allocations: 1.568 MB / 1.116 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003035/1.228, allocations: 0.9493 MB / 1.117 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/1.228, allocations: 91.97 kB / 1.117 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006226/1.228, allocations: 118.8 kB / 1.117 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/1.239, allocations: 2.203 MB / 1.12 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.256e-05/1.239, allocations: 3.938 kB / 1.12 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/1.24, allocations: 52.47 kB / 1.12 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/1.24, allocations: 34.7 kB / 1.12 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/1.255, allocations: 3.12 MB / 1.123 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01545/1.271, allocations: 4.702 MB / 1.127 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01627/1.287, allocations: 3.026 MB / 1.13 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008979/1.288, allocations: 0.6129 MB / 1.131 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007298/1.295, allocations: 1.45 MB / 1.132 GB, free: 11.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=121): time 5.24e-06/1.295, allocations: 1.031 kB / 1.132 GB, free: 11.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=121): time 0.02258/1.318, allocations: 3.77 MB / 1.136 GB, free: 10.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/1.318, allocations: 193.8 kB / 1.136 GB, free: 10.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/1.32, allocations: 0.7441 MB / 1.137 GB, free: 10.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005277/1.32, allocations: 45.89 kB / 1.137 GB, free: 10.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/1.321, allocations: 490.7 kB / 1.137 GB, free: 9.758 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007273/1.322, allocations: 405.8 kB / 1.138 GB, free: 9.469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/1.322, allocations: 21.62 kB / 1.138 GB, free: 9.469 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.322, allocations: 344.6 kB / 1.138 GB, free: 9.152 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00635/1.328, allocations: 1.098 MB / 1.139 GB, free: 8.895 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006869/1.335, allocations: 1.234 MB / 1.14 GB, free: 8.523 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006553/1.342, allocations: 1.079 MB / 1.141 GB, free: 8.301 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/1.342, allocations: 7.047 kB / 1.141 GB, free: 8.297 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01518/1.357, allocations: 2.53 MB / 1.144 GB, free: 7.652 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/1.357, allocations: 10.27 kB / 1.144 GB, free: 7.648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.357, allocations: 1.344 kB / 1.144 GB, free: 7.648 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.358, allocations: 85.7 kB / 1.144 GB, free: 7.613 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005207/1.363, allocations: 462.4 kB / 1.144 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/1.367, allocations: 1.546 MB / 1.146 GB, free: 6.098 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/1.371, allocations: 326.8 kB / 1.146 GB, free: 5.961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000404/1.372, allocations: 54.31 kB / 1.146 GB, free: 5.945 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (127): * Single equations (assignments): 126 * 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.001284/1.373, allocations: 333.9 kB / 1.147 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/1.373, allocations: 105.9 kB / 1.147 GB, free: 5.742 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/1.389, allocations: 2.97 MB / 1.15 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/1.389, allocations: 12.88 kB / 1.15 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.389, allocations: 0 / 1.15 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.368e-05/1.389, allocations: 3.984 kB / 1.15 GB, free: 4.887 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/1.41, allocations: 4.805 MB / 1.154 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.41, allocations: 4 kB / 1.154 GB, free: 3.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004966/1.415, allocations: 466.1 kB / 1.155 GB, free: 3.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009566/1.416, allocations: 82.38 kB / 1.155 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000449/1.417, allocations: 48.66 kB / 1.155 GB, free: 3.156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0029/1.42, allocations: 1.581 MB / 1.156 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.42, allocations: 0 / 1.156 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/1.435, allocations: 2.718 MB / 1.159 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/1.437, allocations: 456 kB / 1.16 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004476/1.437, allocations: 29.86 kB / 1.16 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0042/1.441, allocations: 285.3 kB / 1.16 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/1.442, allocations: 82.81 kB / 1.16 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003037/1.442, allocations: 61.88 kB / 1.16 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001216/1.443, allocations: 0.5288 MB / 1.161 GB, free: 456 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/1.443, allocations: 0 / 1.161 GB, free: 456 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.002423/1.446, allocations: 438.6 kB / 1.161 GB, free: 388 kB / 0.698 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.01726/1.463, allocations: 3.784 MB / 1.165 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01404/1.477, allocations: 2.592 MB / 1.167 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.477, allocations: 5.594 kB / 1.167 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00759/1.485, allocations: 1.449 MB / 1.169 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/1.487, allocations: 259 kB / 1.169 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04573/1.533, allocations: 10.44 MB / 1.179 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.535, allocations: 1.181 MB / 1.18 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003585/1.538, allocations: 472.5 kB / 1.181 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/1.54, allocations: 0.521 MB / 1.181 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of SimCode: time 5.27e-06/1.54, allocations: 4 kB / 1.181 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/1.646, allocations: 29.87 MB / 1.21 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004493/1.646, allocations: 252.8 kB / 1.211 GB, free: 4.453 MB / 0.7448 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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