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.599/2.599, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001606/0.001606, allocations: 184 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.199/2.199, 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.001183/0.001183, allocations: 101.6 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007687/0.0007689, allocations: 17.61 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2324, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006142/0.2386, allocations: 4.061 MB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8702/1.109, allocations: 127.5 MB / 1.107 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009301/1.11, allocations: 22.69 kB / 1.107 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004624/1.11, allocations: 80.88 kB / 1.107 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/1.113, allocations: 479.4 kB / 1.107 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/1.116, allocations: 0.6933 MB / 1.108 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00265/1.118, allocations: 0.9831 MB / 1.109 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/1.12, allocations: 0.5564 MB / 1.109 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/1.121, allocations: 423.7 kB / 1.11 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009658/1.122, allocations: 442.1 kB / 1.11 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002205/1.122, allocations: 35.22 kB / 1.11 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/1.124, allocations: 358.8 kB / 1.111 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004089/1.124, allocations: 250.5 kB / 1.111 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004084/1.125, allocations: 233.2 kB / 1.111 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003392/1.128, allocations: 1.39 MB / 1.112 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.128, allocations: 4 kB / 1.112 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.866e-06/1.128, allocations: 0 / 1.112 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.168e-05/1.128, allocations: 0 / 1.112 GB, free: 0.9492 MB / 0.6823 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.004921/1.133, allocations: 1.39 MB / 1.114 GB, free: 16.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.133, allocations: 13.33 kB / 1.114 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006382/1.134, allocations: 173 kB / 1.114 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01707/1.151, allocations: 1.556 MB / 1.116 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/1.154, allocations: 0.8774 MB / 1.116 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/1.154, allocations: 82.14 kB / 1.116 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/1.154, allocations: 111.6 kB / 1.117 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009035/1.163, allocations: 2.036 MB / 1.119 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/1.164, allocations: 0 / 1.119 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/1.164, allocations: 53.89 kB / 1.119 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/1.164, allocations: 32.5 kB / 1.119 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/1.178, allocations: 2.917 MB / 1.122 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01445/1.193, allocations: 4.122 MB / 1.126 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/1.208, allocations: 2.83 MB / 1.128 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008406/1.209, allocations: 0.6024 MB / 1.129 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006814/1.216, allocations: 1.362 MB / 1.13 GB, free: 11.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=120): time 4.659e-06/1.216, allocations: 1.75 kB / 1.13 GB, free: 11.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=120): time 0.02115/1.237, allocations: 3.547 MB / 1.134 GB, free: 10.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/1.237, allocations: 198.7 kB / 1.134 GB, free: 10.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/1.239, allocations: 0.7035 MB / 1.135 GB, free: 10.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004535/1.239, allocations: 48.11 kB / 1.135 GB, free: 10.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/1.24, allocations: 444.9 kB / 1.135 GB, free: 10.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000691/1.241, allocations: 404.8 kB / 1.135 GB, free: 9.871 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/1.241, allocations: 18.97 kB / 1.135 GB, free: 9.871 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.241, allocations: 345.2 kB / 1.136 GB, free: 9.555 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005937/1.247, allocations: 1.016 MB / 1.137 GB, free: 9.301 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006319/1.253, allocations: 1.147 MB / 1.138 GB, free: 8.934 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006058/1.259, allocations: 1.016 MB / 1.139 GB, free: 8.707 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/1.259, allocations: 0 / 1.139 GB, free: 8.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01407/1.273, allocations: 2.387 MB / 1.141 GB, free: 8.059 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/1.274, allocations: 7.156 kB / 1.141 GB, free: 8.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/1.274, allocations: 9.312 kB / 1.141 GB, free: 8.051 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/1.275, allocations: 81.5 kB / 1.141 GB, free: 8.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004904/1.28, allocations: 462.5 kB / 1.142 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/1.283, allocations: 1.548 MB / 1.143 GB, free: 6.508 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/1.287, allocations: 327 kB / 1.144 GB, free: 6.371 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004442/1.287, allocations: 54.84 kB / 1.144 GB, free: 6.355 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 (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.001109/1.289, allocations: 309.6 kB / 1.144 GB, free: 6.211 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/1.289, allocations: 98.41 kB / 1.144 GB, free: 6.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/1.304, allocations: 2.838 MB / 1.147 GB, free: 5.301 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/1.304, allocations: 17.11 kB / 1.147 GB, free: 5.297 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.304, allocations: 7.938 kB / 1.147 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/1.304, allocations: 10.88 kB / 1.147 GB, free: 5.281 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/1.323, allocations: 4.358 MB / 1.151 GB, free: 3.809 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.323, allocations: 0 / 1.151 GB, free: 3.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004779/1.328, allocations: 463.1 kB / 1.151 GB, free: 3.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008929/1.329, allocations: 86.09 kB / 1.152 GB, free: 3.641 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002871/1.329, allocations: 44.72 kB / 1.152 GB, free: 3.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/1.332, allocations: 1.577 MB / 1.153 GB, free: 2.242 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.332, allocations: 4.062 kB / 1.153 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.346, allocations: 2.578 MB / 1.156 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.348, allocations: 414.1 kB / 1.156 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/1.348, allocations: 27.97 kB / 1.156 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003997/1.352, allocations: 282 kB / 1.156 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/1.352, allocations: 94.95 kB / 1.156 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002765/1.353, allocations: 55.31 kB / 1.157 GB, free: 1.078 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00108/1.354, allocations: 0.5065 MB / 1.157 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.91e-07/1.354, allocations: 0 / 1.157 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002283/1.356, allocations: 426.2 kB / 1.157 GB, free: 0.8477 MB / 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 (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.016/1.372, allocations: 3.619 MB / 1.161 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.385, allocations: 2.433 MB / 1.163 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.385, allocations: 0 / 1.163 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.006777/1.392, allocations: 1.359 MB / 1.165 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/1.394, allocations: 250.8 kB / 1.165 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04125/1.435, allocations: 9.829 MB / 1.174 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/1.437, allocations: 1.156 MB / 1.176 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003358/1.44, allocations: 468.2 kB / 1.176 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/1.442, allocations: 0.4948 MB / 1.177 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/1.442, allocations: 4 kB / 1.177 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0951/1.537, allocations: 28.54 MB / 1.204 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000427/1.537, allocations: 278.8 kB / 1.205 GB, free: 7.758 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_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: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_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: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_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