Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.884/1.884, allocations: 289.7 MB / 302.3 MB, free: 2.172 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.001345/0.001345, allocations: 181.1 kB / 371.6 MB, free: 3.359 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.028/2.028, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0008131/0.0008131, allocations: 88.3 kB / 0.745 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.053e-05/4.057e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2278, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.139/6.367, allocations: 2.104 GB / 3.084 GB, free: 135.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/6.368, allocations: 97.53 kB / 3.084 GB, free: 135.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.181/7.549, allocations: 195.4 MB / 3.275 GB, free: 200.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.849e-06/7.549, allocations: 0 / 3.275 GB, free: 200.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001364/7.55, allocations: 89.64 kB / 3.275 GB, free: 200.3 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: 342 * Number of variables: 342 Notification: Performance of Generate backend data structure: time 0.03345/7.584, allocations: 3.982 MB / 3.279 GB, free: 198.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/7.584, allocations: 6.688 kB / 3.279 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008994/7.585, allocations: 203.4 kB / 3.279 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0234/7.608, allocations: 0.5985 MB / 3.28 GB, free: 198.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3973/8.006, allocations: 291.9 MB / 3.565 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/8.006, allocations: 134.5 kB / 3.565 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004642/8.006, allocations: 171.4 kB / 3.565 GB, free: 14.85 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003187/8.01, allocations: 1.733 MB / 3.567 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/8.01, allocations: 6.719 kB / 3.567 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/8.01, allocations: 56 kB / 3.567 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/8.01, allocations: 32 kB / 3.567 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/8.013, allocations: 1.789 MB / 3.569 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.211/9.224, allocations: 258.9 MB / 3.822 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/9.227, allocations: 1.418 MB / 3.823 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009237/9.228, allocations: 0.8026 MB / 3.824 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/9.228, allocations: 30.39 kB / 3.824 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/9.229, allocations: 0.9103 MB / 3.825 GB, free: 120 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 2.806e-06/9.229, allocations: 0 / 3.825 GB, free: 120 MB / 0.9636 GB Notification: Performance of matching and sorting (n=105): time 0.02621/9.255, allocations: 2.166 MB / 3.827 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002191/9.255, allocations: 390.7 kB / 3.827 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.388/10.64, allocations: 323 MB / 4.143 GB, free: 142 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0007274/10.64, allocations: 57.7 kB / 4.143 GB, free: 141.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003211/10.65, allocations: 2.171 MB / 4.145 GB, free: 140 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005915/10.65, allocations: 351.4 kB / 4.145 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/10.65, allocations: 36 kB / 4.145 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001249/10.65, allocations: 389.1 kB / 4.146 GB, free: 139.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/10.65, allocations: 1.276 MB / 4.147 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/10.65, allocations: 1.6 MB / 4.148 GB, free: 136.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/10.65, allocations: 1.597 MB / 4.15 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/10.65, allocations: 4 kB / 4.15 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.02643/10.68, allocations: 3.782 MB / 4.154 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000185/10.68, allocations: 171.7 kB / 4.154 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/10.68, allocations: 4.984 kB / 4.154 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006138/10.68, allocations: 93.59 kB / 4.154 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/10.68, allocations: 375.1 kB / 4.154 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/10.68, allocations: 1.521 MB / 4.156 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02053/10.7, allocations: 0.562 MB / 4.156 GB, free: 129.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009212/10.71, allocations: 112.9 kB / 4.157 GB, free: 129.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 1 * 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.0005949/10.71, allocations: 364.9 kB / 4.157 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0208/10.73, allocations: 466 kB / 4.157 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00668/10.73, allocations: 2.854 MB / 4.16 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/10.73, allocations: 9.781 kB / 4.16 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/10.73, allocations: 0 / 4.16 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/10.73, allocations: 7.328 kB / 4.16 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1724/10.91, allocations: 126.9 MB / 4.284 GB, free: 32.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/10.91, allocations: 4.125 kB / 4.284 GB, free: 32.56 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/10.91, allocations: 185.6 kB / 4.284 GB, free: 32.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/10.91, allocations: 81.5 kB / 4.284 GB, free: 32.36 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/10.91, allocations: 47.16 kB / 4.284 GB, free: 32.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/10.91, allocations: 1.54 MB / 4.286 GB, free: 30.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/10.91, allocations: 2.031 kB / 4.286 GB, free: 30.73 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02377/10.93, allocations: 2.574 MB / 4.288 GB, free: 28.36 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.9674/11.9, allocations: 64.06 MB / 4.351 GB, free: 209.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03577/11.94, allocations: 45.28 kB / 4.351 GB, free: 209.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03022/11.97, allocations: 431.6 kB / 4.351 GB, free: 209.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007505/11.97, allocations: 75.41 kB / 4.351 GB, free: 209.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003507/11.97, allocations: 85.88 kB / 4.352 GB, free: 209.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.2949/12.26, allocations: 235.3 MB / 4.581 GB, free: 67.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.913e-06/12.26, allocations: 2.812 kB / 4.581 GB, free: 67.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03785/12.3, allocations: 16.34 MB / 4.597 GB, free: 51.02 MB / 0.9636 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.04309/12.34, allocations: 4.801 MB / 4.602 GB, free: 47.27 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009439/12.35, allocations: 3.832 MB / 4.606 GB, free: 43.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/12.35, allocations: 0 / 4.606 GB, free: 43.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003177/12.36, allocations: 1.679 MB / 4.607 GB, free: 42.15 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03415/12.39, allocations: 0.5423 MB / 4.608 GB, free: 41.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06729/12.46, allocations: 9.81 MB / 4.618 GB, free: 32.97 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006596/12.46, allocations: 3.038 MB / 4.62 GB, free: 30.64 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.08769/12.55, allocations: 33.17 MB / 4.653 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.104/12.66, allocations: 11.47 MB / 4.664 GB, free: 8.129 MB / 0.9792 GB Notification: Performance of SimCode: time 2.234e-06/12.66, allocations: 0 / 4.664 GB, free: 8.129 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.844/18.5, allocations: 1.556 GB / 6.22 GB, free: 0.5117 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/18.5, allocations: 235.1 kB / 6.22 GB, free: 208 kB / 1.167 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_BaseClasses_Examples_WindowRadiation.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_BaseClasses_Examples_WindowRadiation_functions.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:2: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_BaseClasses_Examples_WindowRadiation_functions.o] Error 1