Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.592/2.592, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001453/0.001452, allocations: 181.3 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.002/2.002, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001168/0.001168, allocations: 98.41 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004746, allocations: 15 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.622/6.835, allocations: 2.077 GB / 3.055 GB, free: 200.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/6.835, allocations: 105.7 kB / 3.055 GB, free: 200.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2863/7.121, allocations: 77.1 MB / 3.13 GB, free: 132.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.156e-06/7.121, allocations: 0 / 3.13 GB, free: 132.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000141/7.122, allocations: 35.88 kB / 3.13 GB, free: 132.8 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.005226/7.127, allocations: 1.429 MB / 3.132 GB, free: 131.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/7.127, allocations: 15.95 kB / 3.132 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006023/7.128, allocations: 177.1 kB / 3.132 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0214/7.149, allocations: 1.344 MB / 3.133 GB, free: 129.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/7.152, allocations: 0.8169 MB / 3.134 GB, free: 128.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/7.153, allocations: 86.27 kB / 3.134 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004844/7.153, allocations: 108 kB / 3.134 GB, free: 128.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/7.166, allocations: 2.038 MB / 3.136 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.138e-05/7.167, allocations: 0 / 3.136 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003935/7.167, allocations: 59.95 kB / 3.136 GB, free: 126.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/7.167, allocations: 24 kB / 3.136 GB, free: 126.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02137/7.188, allocations: 2.924 MB / 3.139 GB, free: 123.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02003/7.208, allocations: 4.134 MB / 3.143 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02208/7.231, allocations: 2.822 MB / 3.146 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009121/7.232, allocations: 0.6023 MB / 3.147 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009543/7.241, allocations: 1.373 MB / 3.148 GB, free: 114.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=120): time 6.742e-06/7.241, allocations: 3.938 kB / 3.148 GB, free: 114.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=120): time 0.02259/7.264, allocations: 3.558 MB / 3.151 GB, free: 110.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/7.264, allocations: 248.3 kB / 3.152 GB, free: 110.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/7.265, allocations: 0.6835 MB / 3.152 GB, free: 109.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/7.266, allocations: 53.64 kB / 3.152 GB, free: 109.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000387/7.266, allocations: 448.8 kB / 3.153 GB, free: 109.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004102/7.266, allocations: 394.2 kB / 3.153 GB, free: 108.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/7.267, allocations: 20 kB / 3.153 GB, free: 108.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/7.267, allocations: 349.9 kB / 3.154 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005359/7.272, allocations: 1.009 MB / 3.155 GB, free: 107.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00547/7.278, allocations: 1.16 MB / 3.156 GB, free: 106.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005288/7.283, allocations: 1.018 MB / 3.157 GB, free: 105.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/7.283, allocations: 0 / 3.157 GB, free: 105.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01243/7.295, allocations: 2.378 MB / 3.159 GB, free: 102.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/7.295, allocations: 8 kB / 3.159 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/7.295, allocations: 0 / 3.159 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009593/7.296, allocations: 96.72 kB / 3.159 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004318/7.301, allocations: 459.3 kB / 3.16 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/7.303, allocations: 1.552 MB / 3.161 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003585/7.307, allocations: 318.9 kB / 3.161 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/7.307, allocations: 51.94 kB / 3.161 GB, free: 100.3 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.0009259/7.308, allocations: 311.8 kB / 3.162 GB, free: 100 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/7.308, allocations: 102.7 kB / 3.162 GB, free: 99.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/7.323, allocations: 2.838 MB / 3.165 GB, free: 97.06 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/7.323, allocations: 16 kB / 3.165 GB, free: 97.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/7.323, allocations: 8 kB / 3.165 GB, free: 97.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-05/7.323, allocations: 7.969 kB / 3.165 GB, free: 97.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/7.346, allocations: 4.408 MB / 3.169 GB, free: 92.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/7.346, allocations: 0 / 3.169 GB, free: 92.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004297/7.35, allocations: 463.4 kB / 3.169 GB, free: 92.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008466/7.351, allocations: 88.7 kB / 3.169 GB, free: 92.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001755/7.351, allocations: 47.95 kB / 3.169 GB, free: 91.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/7.354, allocations: 1.579 MB / 3.171 GB, free: 90.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/7.354, allocations: 4.062 kB / 3.171 GB, free: 90.24 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/7.366, allocations: 2.577 MB / 3.174 GB, free: 87.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/7.367, allocations: 435.1 kB / 3.174 GB, free: 87.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000408/7.368, allocations: 20 kB / 3.174 GB, free: 87.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003858/7.372, allocations: 291.7 kB / 3.174 GB, free: 86.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/7.372, allocations: 89.19 kB / 3.174 GB, free: 86.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002245/7.372, allocations: 59.94 kB / 3.174 GB, free: 86.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001071/7.373, allocations: 0.5576 MB / 3.175 GB, free: 86.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/7.373, allocations: 0 / 3.175 GB, free: 86.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002198/7.376, allocations: 0.4912 MB / 3.175 GB, free: 85.7 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.01574/7.391, allocations: 4.095 MB / 3.179 GB, free: 81.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01247/7.404, allocations: 2.436 MB / 3.182 GB, free: 79.31 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/7.404, allocations: 0 / 3.182 GB, free: 79.31 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006473/7.41, allocations: 1.361 MB / 3.183 GB, free: 77.94 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/7.413, allocations: 266 kB / 3.183 GB, free: 77.68 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03672/7.449, allocations: 9.759 MB / 3.193 GB, free: 67.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/7.45, allocations: 1.147 MB / 3.194 GB, free: 66.55 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003119/7.453, allocations: 472.2 kB / 3.194 GB, free: 66.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/7.455, allocations: 0.4914 MB / 3.195 GB, free: 65.59 MB / 0.948 GB Notification: Performance of SimCode: time 1.834e-06/7.455, allocations: 4 kB / 3.195 GB, free: 65.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/7.57, allocations: 37.86 MB / 3.232 GB, free: 28.01 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/7.57, allocations: 263 kB / 3.232 GB, free: 27.65 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_BaseClasses_Examples_SideFins.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c:7: In file included from ./Buildings_8_0_0_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 -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_BaseClasses_Examples_SideFins_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_SideFins_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o] Error 1