Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01364/0.01364, allocations: 90.58 kB / 15.04 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001703/0.001702, allocations: 167.5 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 1.995/1.995, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.459/2.459, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006693/0.0006695, allocations: 12.19 kB / 0.6243 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2351, allocations: 106.2 MB / 0.7281 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01083/0.246, allocations: 5.709 MB / 0.7336 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.947/1.193, allocations: 132 MB / 0.8626 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/1.195, allocations: 27.34 kB / 0.8626 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.006554/1.201, allocations: 1.427 MB / 0.864 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004432/1.206, allocations: 0.9567 MB / 0.8649 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004844/1.211, allocations: 0.9874 MB / 0.8659 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005919/1.217, allocations: 2.618 MB / 0.8684 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/1.219, allocations: 0.8815 MB / 0.8693 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/1.223, allocations: 1.239 MB / 0.8705 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/1.226, allocations: 1.014 MB / 0.8715 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/1.227, allocations: 64.38 kB / 0.8716 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006507/1.234, allocations: 1.709 MB / 0.8732 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.005428/1.239, allocations: 2.84 MB / 0.876 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003157/1.242, allocations: 0.7596 MB / 0.8767 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01581/1.258, allocations: 8.799 MB / 0.8853 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.258, allocations: 0 / 0.8853 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/1.258, allocations: 0 / 0.8853 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003143/1.259, allocations: 3.938 kB / 0.8853 GB, free: 18.52 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.02798/1.287, allocations: 6.608 MB / 0.8918 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.287, allocations: 9.312 kB / 0.8918 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000856/1.287, allocations: 213.4 kB / 0.892 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005531/1.293, allocations: 0.6004 MB / 0.8926 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3609/1.654, allocations: 255.5 MB / 1.142 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/1.654, allocations: 126.7 kB / 1.142 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004779/1.655, allocations: 176 kB / 1.142 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/1.659, allocations: 1.67 MB / 1.144 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/1.66, allocations: 3.984 kB / 1.144 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002418/1.66, allocations: 62.73 kB / 1.144 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/1.66, allocations: 36 kB / 1.144 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004778/1.665, allocations: 1.724 MB / 1.146 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.716/2.381, allocations: 69.58 MB / 1.214 GB, free: 357.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/2.385, allocations: 1.46 MB / 1.215 GB, free: 356.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/2.385, allocations: 41.19 kB / 1.215 GB, free: 356.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00222/2.387, allocations: 0.926 MB / 1.216 GB, free: 355.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=105): time 4.028e-06/2.387, allocations: 2.25 kB / 1.216 GB, free: 355.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.01181/2.399, allocations: 3.114 MB / 1.219 GB, free: 353.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002542/2.399, allocations: 344.1 kB / 1.22 GB, free: 352.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4421/2.841, allocations: 316 MB / 1.528 GB, free: 39.76 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005758/2.842, allocations: 65.7 kB / 1.528 GB, free: 39.69 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004387/2.847, allocations: 2.202 MB / 1.53 GB, free: 37.55 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/2.847, allocations: 351.5 kB / 1.531 GB, free: 37.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/2.847, allocations: 40 kB / 1.531 GB, free: 37.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001416/2.848, allocations: 387.1 kB / 1.531 GB, free: 36.81 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/2.85, allocations: 1.304 MB / 1.532 GB, free: 35.51 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/2.854, allocations: 1.606 MB / 1.534 GB, free: 33.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/2.857, allocations: 1.626 MB / 1.535 GB, free: 32.21 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/2.857, allocations: 4.719 kB / 1.535 GB, free: 32.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01273/2.87, allocations: 3.83 MB / 1.539 GB, free: 28.38 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002814/2.871, allocations: 165.6 kB / 1.539 GB, free: 28.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/2.871, allocations: 10.53 kB / 1.539 GB, free: 28.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/2.872, allocations: 92.08 kB / 1.539 GB, free: 28.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00311/2.875, allocations: 379.3 kB / 1.54 GB, free: 27.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/2.878, allocations: 1.539 MB / 1.541 GB, free: 26.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00684/2.885, allocations: 0.622 MB / 1.542 GB, free: 25.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006742/2.885, allocations: 80.83 kB / 1.542 GB, free: 25.38 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (214): * Single equations (assignments): 212 * 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.00557/2.891, allocations: 2.143 MB / 1.544 GB, free: 23.22 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003369/2.894, allocations: 446 kB / 1.545 GB, free: 22.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008656/2.903, allocations: 2.899 MB / 1.547 GB, free: 19.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/2.903, allocations: 12 kB / 1.547 GB, free: 19.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/2.903, allocations: 3.328 kB / 1.547 GB, free: 19.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/2.903, allocations: 3.984 kB / 1.547 GB, free: 19.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/2.925, allocations: 7.621 MB / 1.555 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/2.925, allocations: 0 / 1.555 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/2.926, allocations: 179.7 kB / 1.555 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008772/2.927, allocations: 84.77 kB / 1.555 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/2.927, allocations: 43.72 kB / 1.555 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/2.93, allocations: 1.559 MB / 1.557 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/2.93, allocations: 7.984 kB / 1.557 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009455/2.939, allocations: 2.605 MB / 1.559 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006208/2.946, allocations: 1.764 MB / 1.561 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003394/2.949, allocations: 27.95 kB / 1.561 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006468/2.956, allocations: 419 kB / 1.561 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004761/2.956, allocations: 85.92 kB / 1.561 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/2.956, allocations: 55.97 kB / 1.561 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.8955/3.852, allocations: 251.6 MB / 1.807 GB, free: 141.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.51e-07/3.852, allocations: 0 / 1.807 GB, free: 141.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00806/3.86, allocations: 1.333 MB / 1.808 GB, free: 140.2 MB / 0.9167 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 (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.01337/3.873, allocations: 4.003 MB / 1.812 GB, free: 136.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008252/3.882, allocations: 3.857 MB / 1.816 GB, free: 132.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/3.882, allocations: 2.109 kB / 1.816 GB, free: 132.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003308/3.885, allocations: 1.671 MB / 1.818 GB, free: 131.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005993/3.891, allocations: 0.5286 MB / 1.818 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03864/3.93, allocations: 17.56 MB / 1.835 GB, free: 112.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006821/3.937, allocations: 3.067 MB / 1.838 GB, free: 109.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.009045/3.946, allocations: 1.669 MB / 1.84 GB, free: 108 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00816/3.954, allocations: 2.319 MB / 1.842 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.683e-06/3.954, allocations: 0 / 1.842 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.04/4.994, allocations: 210.3 MB / 2.048 GB, free: 274.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/4.994, allocations: 274.6 kB / 2.048 GB, free: 274.3 MB / 0.9167 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o] Error 1