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.TransmittedRadiation.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.TransmittedRadiation,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.009964/0.009964, allocations: 89.69 kB / 15.04 MB, free: 5.582 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.001185/0.001185, allocations: 175.6 kB / 15.92 MB, free: 5.555 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.059/2.059, allocations: 205.5 MB / 222.2 MB, free: 13.58 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.55/2.55, allocations: 252.8 MB / 0.511 GB, free: 8.297 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007674/0.0007675, allocations: 13 kB / 0.6243 GB, free: 21.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2642, allocations: 106.2 MB / 0.7281 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.01134/0.2756, allocations: 4.629 MB / 0.7326 GB, free: 3.422 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.8886/1.164, allocations: 131 MB / 0.8605 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/1.166, allocations: 22.22 kB / 0.8605 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.005709/1.171, allocations: 1.292 MB / 0.8618 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003215/1.175, allocations: 0.6495 MB / 0.8624 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003328/1.178, allocations: 0.6741 MB / 0.8631 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003263/1.181, allocations: 1.308 MB / 0.8644 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/1.183, allocations: 0.7218 MB / 0.8651 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/1.185, allocations: 0.5822 MB / 0.8656 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/1.186, allocations: 0.5468 MB / 0.8662 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.00038/1.187, allocations: 36.69 kB / 0.8662 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005815/1.192, allocations: 1.682 MB / 0.8679 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001836/1.194, allocations: 1.037 MB / 0.8689 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/1.196, allocations: 390 kB / 0.8692 GB, free: 17.09 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.008337/1.204, allocations: 4.005 MB / 0.8732 GB, free: 16.84 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.204, allocations: 0 / 0.8732 GB, free: 16.84 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.799e-06/1.204, allocations: 5.25 kB / 0.8732 GB, free: 16.84 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001367/1.204, allocations: 3.938 kB / 0.8732 GB, free: 16.83 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01304/1.217, allocations: 3.151 MB / 0.8762 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.217, allocations: 9.125 kB / 0.8762 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007243/1.218, allocations: 181 kB / 0.8764 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/1.221, allocations: 348.1 kB / 0.8768 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1123/1.333, allocations: 80.73 MB / 0.9556 GB, free: 5.688 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/1.334, allocations: 94.88 kB / 0.9557 GB, free: 5.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004195/1.334, allocations: 124 kB / 0.9558 GB, free: 5.473 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003793/1.338, allocations: 1.24 MB / 0.957 GB, free: 4.168 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/1.338, allocations: 4 kB / 0.957 GB, free: 4.164 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/1.338, allocations: 51.98 kB / 0.9571 GB, free: 4.113 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/1.338, allocations: 28 kB / 0.9571 GB, free: 4.086 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00437/1.343, allocations: 1.406 MB / 0.9585 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03874/1.381, allocations: 23.12 MB / 0.9811 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00371/1.385, allocations: 1.014 MB / 0.982 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/1.385, allocations: 37.34 kB / 0.9821 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001803/1.387, allocations: 0.5649 MB / 0.9826 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=88): time 3.586e-06/1.387, allocations: 0 / 0.9826 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88): time 0.007447/1.395, allocations: 1.565 MB / 0.9842 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/1.395, allocations: 192.9 kB / 0.9843 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1719/1.567, allocations: 99.36 MB / 1.081 GB, free: 4.633 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003532/1.567, allocations: 49.7 kB / 1.081 GB, free: 4.578 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001822/1.569, allocations: 1.024 MB / 1.082 GB, free: 3.547 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005745/1.57, allocations: 289.2 kB / 1.083 GB, free: 3.266 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/1.57, allocations: 20 kB / 1.083 GB, free: 3.246 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.57, allocations: 349.9 kB / 1.083 GB, free: 2.898 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/1.572, allocations: 445.8 kB / 1.083 GB, free: 2.465 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/1.573, allocations: 0.5666 MB / 1.084 GB, free: 1.863 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/1.575, allocations: 0.5066 MB / 1.085 GB, free: 1.359 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/1.575, allocations: 0 / 1.085 GB, free: 1.359 MB / 0.823 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006348/1.581, allocations: 1.4 MB / 1.086 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/1.581, allocations: 8.031 kB / 1.086 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.581, allocations: 0 / 1.086 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/1.582, allocations: 84.78 kB / 1.086 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/1.585, allocations: 227.6 kB / 1.086 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003208/1.588, allocations: 1.528 MB / 1.088 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/1.591, allocations: 265.3 kB / 1.088 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/1.592, allocations: 43.97 kB / 1.088 GB, free: 13.67 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (122): * Single equations (assignments): 121 * 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.002667/1.594, allocations: 0.7876 MB / 1.089 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.596, allocations: 213.8 kB / 1.089 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005901/1.602, allocations: 1.501 MB / 1.09 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/1.602, allocations: 12 kB / 1.09 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.602, allocations: 0 / 1.09 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/1.602, allocations: 7.984 kB / 1.09 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/1.614, allocations: 3.523 MB / 1.094 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.614, allocations: 0 / 1.094 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.616, allocations: 179.7 kB / 1.094 GB, free: 7.387 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009237/1.617, allocations: 84.78 kB / 1.094 GB, free: 7.301 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/1.617, allocations: 27.97 kB / 1.094 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/1.62, allocations: 1.556 MB / 1.096 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.62, allocations: 0 / 1.096 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005608/1.625, allocations: 1.29 MB / 1.097 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002861/1.628, allocations: 0.7514 MB / 1.098 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001368/1.63, allocations: 19.98 kB / 1.098 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/1.633, allocations: 180 kB / 1.098 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000389/1.633, allocations: 76.89 kB / 1.098 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/1.633, allocations: 44.05 kB / 1.098 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.7349/2.368, allocations: 79.37 MB / 1.175 GB, free: 349.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.42e-07/2.368, allocations: 1 kB / 1.175 GB, free: 349.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004916/2.373, allocations: 0.9424 MB / 1.176 GB, free: 349.4 MB / 0.9011 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 (102): * Single equations (assignments): 99 * 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.009317/2.383, allocations: 2.657 MB / 1.179 GB, free: 348.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003805/2.386, allocations: 1.136 MB / 1.18 GB, free: 347.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/2.386, allocations: 4.188 kB / 1.18 GB, free: 347.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/2.388, allocations: 0.6048 MB / 1.181 GB, free: 347.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/2.391, allocations: 343.6 kB / 1.181 GB, free: 347.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/2.411, allocations: 6.922 MB / 1.188 GB, free: 344 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/2.413, allocations: 1.727 MB / 1.189 GB, free: 343.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003751/2.417, allocations: 0.7488 MB / 1.19 GB, free: 342.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003294/2.421, allocations: 1.054 MB / 1.191 GB, free: 342.2 MB / 0.9011 GB Notification: Performance of SimCode: time 1.583e-06/2.421, allocations: 0 / 1.191 GB, free: 342.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1825/2.603, allocations: 84.88 MB / 1.274 GB, free: 265.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/2.604, allocations: 282.8 kB / 1.274 GB, free: 265 MB / 0.9011 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_TransmittedRadiation.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_TransmittedRadiation_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_TransmittedRadiation_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_TransmittedRadiation_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o] Error 1