Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001865, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.345/2.345, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.219/2.219, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009745/0.0009749, allocations: 18.8 kB / 0.6737 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3633, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01019/0.3735, allocations: 4.661 MB / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 1.238/1.611, allocations: 131.1 MB / 0.9198 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/1.613, allocations: 22.72 kB / 0.9199 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007231/1.62, allocations: 1.301 MB / 0.9211 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004073/1.625, allocations: 0.6528 MB / 0.9218 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004324/1.629, allocations: 0.7646 MB / 0.9225 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005479/1.634, allocations: 1.82 MB / 0.9243 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/1.636, allocations: 0.6998 MB / 0.925 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/1.64, allocations: 0.8738 MB / 0.9258 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/1.642, allocations: 0.691 MB / 0.9265 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003352/1.642, allocations: 48.56 kB / 0.9265 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006605/1.649, allocations: 1.66 MB / 0.9282 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002668/1.652, allocations: 1.245 MB / 0.9294 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/1.653, allocations: 411.1 kB / 0.9298 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/1.665, allocations: 4.211 MB / 0.9339 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.666, allocations: 0 / 0.9339 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.44e-06/1.666, allocations: 4 kB / 0.9339 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002486/1.666, allocations: 1.094 kB / 0.9339 GB, free: 5.078 MB / 0.7169 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.0189/1.685, allocations: 3.351 MB / 0.9372 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.309e-05/1.685, allocations: 10.53 kB / 0.9372 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001283/1.686, allocations: 177.9 kB / 0.9373 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/1.69, allocations: 351.1 kB / 0.9377 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1465/1.837, allocations: 80.82 MB / 1.017 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/1.837, allocations: 105.3 kB / 1.017 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/1.838, allocations: 141.6 kB / 1.017 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/1.842, allocations: 1.272 MB / 1.018 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/1.842, allocations: 0 / 1.018 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/1.842, allocations: 51 kB / 1.018 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/1.842, allocations: 24 kB / 1.018 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003645/1.845, allocations: 1.377 MB / 1.019 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04529/1.891, allocations: 23.38 MB / 1.042 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003603/1.894, allocations: 1.123 MB / 1.043 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/1.895, allocations: 33.86 kB / 1.043 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/1.896, allocations: 0.7121 MB / 1.044 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=92): time 5.019e-06/1.896, allocations: 0 / 1.044 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=92): time 0.00855/1.905, allocations: 2.225 MB / 1.046 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004692/1.906, allocations: 325.6 kB / 1.047 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1922/2.098, allocations: 99.65 MB / 1.144 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0009147/2.099, allocations: 57.7 kB / 1.144 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00296/2.102, allocations: 1.057 MB / 1.145 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009008/2.103, allocations: 305.1 kB / 1.145 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/2.103, allocations: 32 kB / 1.145 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000294/2.103, allocations: 369.9 kB / 1.146 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002704/2.106, allocations: 0.9989 MB / 1.147 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/2.109, allocations: 1.209 MB / 1.148 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/2.111, allocations: 1.259 MB / 1.149 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/2.111, allocations: 7.938 kB / 1.149 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.009052/2.121, allocations: 2.772 MB / 1.152 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002953/2.121, allocations: 153.6 kB / 1.152 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/2.121, allocations: 4 kB / 1.152 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/2.121, allocations: 8 kB / 1.152 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/2.123, allocations: 289.6 kB / 1.152 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.753e-05/2.123, allocations: 11.98 kB / 1.152 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/2.127, allocations: 313.8 kB / 1.153 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/2.127, allocations: 69.75 kB / 1.153 GB, free: 1.598 MB / 0.8731 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.003639/2.131, allocations: 1.015 MB / 1.154 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002182/2.133, allocations: 223 kB / 1.154 GB, free: 372 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006235/2.139, allocations: 2.092 MB / 1.156 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/2.139, allocations: 12 kB / 1.156 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/2.139, allocations: 0 / 1.156 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/2.139, allocations: 3.984 kB / 1.156 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/2.155, allocations: 4.299 MB / 1.16 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/2.155, allocations: 0 / 1.16 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009699/2.156, allocations: 155 kB / 1.16 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/2.156, allocations: 5.781 kB / 1.16 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/2.156, allocations: 31.97 kB / 1.16 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/2.156, allocations: 8 kB / 1.16 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.156, allocations: 0 / 1.16 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006505/2.163, allocations: 1.949 MB / 1.162 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004103/2.167, allocations: 0.798 MB / 1.163 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002316/2.169, allocations: 20 kB / 1.163 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003304/2.173, allocations: 185.7 kB / 1.163 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/2.173, allocations: 68.91 kB / 1.163 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/2.173, allocations: 43.98 kB / 1.163 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.1132/2.287, allocations: 79.55 MB / 1.241 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.232e-06/2.287, allocations: 0 / 1.241 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.006648/2.293, allocations: 1.006 MB / 1.242 GB, free: 6.078 MB / 0.9669 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.009985/2.303, allocations: 3.317 MB / 1.245 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00572/2.309, allocations: 3.114 MB / 1.248 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/2.309, allocations: 0 / 1.248 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/2.311, allocations: 1.319 MB / 1.249 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/2.315, allocations: 330.3 kB / 1.25 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02247/2.337, allocations: 9.538 MB / 1.259 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/2.339, allocations: 1.795 MB / 1.261 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003601/2.343, allocations: 0.7776 MB / 1.262 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003259/2.346, allocations: 1.089 MB / 1.263 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of SimCode: time 2.514e-06/2.346, allocations: 4 kB / 1.263 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.772/5.118, allocations: 88.54 MB / 1.349 GB, free: 357.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000315/5.118, allocations: 241.2 kB / 1.349 GB, free: 357.3 MB / 0.9981 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c:7: In file included from ./Buildings_8_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o] Error 1