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.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.01015/0.01016, allocations: 89.59 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.001168/0.001168, allocations: 170 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 2.233/2.233, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.346/2.346, allocations: 252.8 MB / 0.511 GB, free: 8.316 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008044/0.0008049, allocations: 13.19 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.243, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008357/0.2514, allocations: 4.661 MB / 0.7326 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.8838/1.135, allocations: 131.1 MB / 0.8607 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/1.137, allocations: 23.22 kB / 0.8607 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005912/1.143, allocations: 1.304 MB / 0.862 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003281/1.146, allocations: 0.6552 MB / 0.8626 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003558/1.149, allocations: 0.7601 MB / 0.8634 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003944/1.153, allocations: 1.818 MB / 0.8651 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/1.155, allocations: 0.7012 MB / 0.8658 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/1.157, allocations: 0.8743 MB / 0.8667 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/1.159, allocations: 0.6892 MB / 0.8673 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000389/1.16, allocations: 46.53 kB / 0.8674 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004734/1.165, allocations: 1.66 MB / 0.869 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002322/1.167, allocations: 1.247 MB / 0.8702 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/1.168, allocations: 411.5 kB / 0.8706 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009087/1.177, allocations: 4.216 MB / 0.8747 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.177, allocations: 0.5312 kB / 0.8747 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.535e-06/1.177, allocations: 0 / 0.8747 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001901/1.177, allocations: 0.5 kB / 0.8747 GB, free: 4.336 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.01264/1.19, allocations: 3.35 MB / 0.878 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/1.19, allocations: 9.562 kB / 0.878 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006871/1.191, allocations: 177.5 kB / 0.8782 GB, free: 18.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/1.193, allocations: 350.3 kB / 0.8785 GB, free: 18.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1068/1.3, allocations: 80.82 MB / 0.9574 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/1.3, allocations: 105 kB / 0.9575 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000433/1.301, allocations: 145.3 kB / 0.9577 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/1.304, allocations: 1.266 MB / 0.9589 GB, free: 312 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/1.305, allocations: 0 / 0.9589 GB, free: 312 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/1.305, allocations: 47.19 kB / 0.959 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/1.305, allocations: 28 kB / 0.959 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/1.309, allocations: 1.376 MB / 0.9603 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03725/1.346, allocations: 23.38 MB / 0.9832 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/1.349, allocations: 1.128 MB / 0.9843 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/1.349, allocations: 41.38 kB / 0.9843 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/1.351, allocations: 0.7043 MB / 0.985 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=92): time 6.242e-06/1.351, allocations: 3.984 kB / 0.985 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=92): time 0.007104/1.358, allocations: 2.222 MB / 0.9872 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003002/1.359, allocations: 330.1 kB / 0.9875 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1674/1.526, allocations: 99.66 MB / 1.085 GB, free: 6.188 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005478/1.527, allocations: 53.7 kB / 1.085 GB, free: 6.129 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001965/1.529, allocations: 1.059 MB / 1.086 GB, free: 5.066 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005618/1.529, allocations: 309.5 kB / 1.086 GB, free: 4.766 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/1.529, allocations: 28 kB / 1.086 GB, free: 4.738 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.53, allocations: 373.9 kB / 1.087 GB, free: 4.367 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/1.532, allocations: 0.9949 MB / 1.088 GB, free: 3.367 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/1.535, allocations: 1.208 MB / 1.089 GB, free: 2.102 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/1.538, allocations: 1.254 MB / 1.09 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.538, allocations: 2.625 kB / 1.09 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.008709/1.547, allocations: 2.78 MB / 1.093 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002574/1.547, allocations: 145.6 kB / 1.093 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/1.547, allocations: 4 kB / 1.093 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/1.547, allocations: 8 kB / 1.093 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/1.55, allocations: 295.1 kB / 1.093 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/1.55, allocations: 10.53 kB / 1.093 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/1.553, allocations: 312.4 kB / 1.093 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004066/1.554, allocations: 69.47 kB / 1.093 GB, free: 13.26 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (166): * Single equations (assignments): 165 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002876/1.557, allocations: 1.023 MB / 1.094 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/1.558, allocations: 225 kB / 1.095 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006213/1.564, allocations: 2.086 MB / 1.097 GB, free: 9.914 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/1.564, allocations: 8 kB / 1.097 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.564, allocations: 0 / 1.097 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/1.564, allocations: 3.984 kB / 1.097 GB, free: 9.902 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.576, allocations: 4.298 MB / 1.101 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/1.577, allocations: 0 / 1.101 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.578, allocations: 154.5 kB / 1.101 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/1.578, allocations: 4 kB / 1.101 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.578, allocations: 39.98 kB / 1.101 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/1.578, allocations: 5.781 kB / 1.101 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.578, allocations: 0 / 1.101 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00579/1.584, allocations: 1.953 MB / 1.103 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00283/1.587, allocations: 0.798 MB / 1.104 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.588, allocations: 23.98 kB / 1.104 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/1.59, allocations: 184 kB / 1.104 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/1.591, allocations: 64.91 kB / 1.104 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/1.591, allocations: 51.91 kB / 1.104 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.1107/1.701, allocations: 79.54 MB / 1.182 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.71e-07/1.701, allocations: 0 / 1.182 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005157/1.707, allocations: 1.004 MB / 1.183 GB, free: 1.695 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 (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01008/1.717, allocations: 3.335 MB / 1.186 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006871/1.724, allocations: 3.114 MB / 1.189 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.724, allocations: 0 / 1.189 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003618/1.727, allocations: 1.313 MB / 1.19 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004768/1.732, allocations: 340 kB / 1.191 GB, free: 9.816 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6208/2.353, allocations: 9.529 MB / 1.2 GB, free: 386.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003985/2.357, allocations: 1.795 MB / 1.202 GB, free: 386.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004247/2.361, allocations: 0.7785 MB / 1.203 GB, free: 386 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003759/2.365, allocations: 1.091 MB / 1.204 GB, free: 386 MB / 0.9323 GB Notification: Performance of SimCode: time 1.152e-06/2.365, allocations: 0 / 1.204 GB, free: 386 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2246/2.59, allocations: 88.56 MB / 1.29 GB, free: 318.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/2.59, allocations: 267.4 kB / 1.29 GB, free: 317.8 MB / 0.9323 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_AbsorbedRadiation.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.o] Error 1