Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.01469/0.01469, allocations: 87.36 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.001899/0.001899, allocations: 168.6 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.184/2.184, 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.438/2.438, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004915, allocations: 17.08 kB / 0.6243 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.229, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006811/0.2359, allocations: 3.389 MB / 0.7314 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.9706/1.207, allocations: 127.2 MB / 0.8556 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007862/1.207, allocations: 19.03 kB / 0.8556 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0003786/1.208, allocations: 68.22 kB / 0.8556 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/1.21, allocations: 410.6 kB / 0.856 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/1.212, allocations: 0.5723 MB / 0.8566 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.001833/1.214, allocations: 0.6712 MB / 0.8573 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007468/1.215, allocations: 349.5 kB / 0.8576 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006567/1.216, allocations: 250.2 kB / 0.8578 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005234/1.216, allocations: 246.3 kB / 0.8581 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/1.216, allocations: 19.97 kB / 0.8581 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007482/1.217, allocations: 172.1 kB / 0.8582 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/1.217, allocations: 144.7 kB / 0.8584 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/1.218, allocations: 164.1 kB / 0.8585 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/1.22, allocations: 0.8587 MB / 0.8594 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.22, allocations: 2.125 kB / 0.8594 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.076e-06/1.22, allocations: 0 / 0.8594 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.251e-05/1.22, allocations: 0 / 0.8594 GB, free: 4.953 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002891/1.223, allocations: 0.9895 MB / 0.8603 GB, free: 20.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.223, allocations: 8.938 kB / 0.8604 GB, free: 20.31 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002588/1.223, allocations: 112.2 kB / 0.8605 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/1.223, allocations: 96.61 kB / 0.8606 GB, free: 20.22 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/1.225, allocations: 0.6318 MB / 0.8612 GB, free: 19.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/1.225, allocations: 47.42 kB / 0.8612 GB, free: 19.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/1.225, allocations: 58.75 kB / 0.8613 GB, free: 19.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/1.227, allocations: 0.6872 MB / 0.8619 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/1.227, allocations: 0 / 0.8619 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/1.227, allocations: 31.61 kB / 0.862 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/1.227, allocations: 15.19 kB / 0.862 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/1.229, allocations: 0.9156 MB / 0.8629 GB, free: 19.76 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005733/1.235, allocations: 2.339 MB / 0.8652 GB, free: 18.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/1.237, allocations: 0.5959 MB / 0.8657 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/1.237, allocations: 31.3 kB / 0.8658 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/1.238, allocations: 340 kB / 0.8661 GB, free: 18.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.567e-06/1.238, allocations: 0 / 0.8661 GB, free: 18.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.002032/1.24, allocations: 0.7051 MB / 0.8668 GB, free: 18.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/1.24, allocations: 245.3 kB / 0.867 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/1.241, allocations: 0.5677 MB / 0.8676 GB, free: 18.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/1.241, allocations: 40.14 kB / 0.8676 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/1.242, allocations: 330.9 kB / 0.8679 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/1.242, allocations: 203.5 kB / 0.8681 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/1.242, allocations: 10.27 kB / 0.8681 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001993/1.242, allocations: 375.6 kB / 0.8685 GB, free: 17.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/1.243, allocations: 167.5 kB / 0.8687 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/1.243, allocations: 282 kB / 0.8689 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006106/1.244, allocations: 217.2 kB / 0.8691 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.244, allocations: 0.875 kB / 0.8691 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001679/1.246, allocations: 0.5446 MB / 0.8697 GB, free: 17.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/1.246, allocations: 5.688 kB / 0.8697 GB, free: 17.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.246, allocations: 3.312 kB / 0.8697 GB, free: 17.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/1.246, allocations: 3.906 kB / 0.8697 GB, free: 17.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009771/1.247, allocations: 122.8 kB / 0.8698 GB, free: 17.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/1.247, allocations: 5.719 kB / 0.8698 GB, free: 17.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000898/1.248, allocations: 75.78 kB / 0.8699 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/1.248, allocations: 26.39 kB / 0.8699 GB, free: 17.23 MB / 0.6823 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 (68): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006545/1.248, allocations: 237.7 kB / 0.8701 GB, free: 17.11 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/1.249, allocations: 77.67 kB / 0.8702 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/1.251, allocations: 0.7514 MB / 0.8709 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.251, allocations: 11.75 kB / 0.8709 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.251, allocations: 1.25 kB / 0.8709 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/1.251, allocations: 5.172 kB / 0.8709 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/1.253, allocations: 0.8853 MB / 0.8718 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.253, allocations: 0 / 0.8718 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009974/1.254, allocations: 118.2 kB / 0.8719 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/1.254, allocations: 5 kB / 0.8719 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.825e-05/1.254, allocations: 19.31 kB / 0.8719 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/1.254, allocations: 3.781 kB / 0.8719 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.254, allocations: 4.031 kB / 0.872 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/1.256, allocations: 0.6449 MB / 0.8726 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005486/1.257, allocations: 254.8 kB / 0.8728 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/1.257, allocations: 22.73 kB / 0.8728 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000823/1.258, allocations: 54.39 kB / 0.8729 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1.258, allocations: 49.38 kB / 0.8729 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/1.258, allocations: 29.38 kB / 0.873 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009474/1.259, allocations: 415.3 kB / 0.8734 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.034e-06/1.259, allocations: 0 / 0.8734 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001267/1.26, allocations: 225.8 kB / 0.8736 GB, free: 16.21 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004101/1.264, allocations: 1.734 MB / 0.8753 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001738/1.266, allocations: 474.3 kB / 0.8757 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.266, allocations: 1.406 kB / 0.8757 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007074/1.267, allocations: 276.5 kB / 0.876 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/1.269, allocations: 209.8 kB / 0.8762 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.28, allocations: 4.606 MB / 0.8807 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007493/1.281, allocations: 0.9684 MB / 0.8816 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00144/1.282, allocations: 247 kB / 0.8819 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006939/1.283, allocations: 291.7 kB / 0.8822 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of SimCode: time 1.283e-06/1.283, allocations: 4.906 kB / 0.8822 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06174/1.345, allocations: 16.54 MB / 0.8983 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003437/1.345, allocations: 250.8 kB / 0.8986 GB, free: 7.043 MB / 0.6823 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_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_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_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o] Error 1