Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.758/2.758, allocations: 287.3 MB / 302.3 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001646, allocations: 173.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001256/0.001256, allocations: 92.53 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007125/0.0007128, allocations: 14.84 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2455, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005395/0.251, allocations: 3.386 MB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9358/1.187, allocations: 127.2 MB / 1.106 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009489/1.188, allocations: 17.41 kB / 1.106 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004677/1.188, allocations: 68.42 kB / 1.106 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002406/1.191, allocations: 415.2 kB / 1.106 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/1.194, allocations: 0.576 MB / 1.107 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002085/1.196, allocations: 0.6651 MB / 1.107 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009167/1.197, allocations: 349.1 kB / 1.108 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008072/1.198, allocations: 252.7 kB / 1.108 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007983/1.198, allocations: 243.5 kB / 1.108 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/1.199, allocations: 19.09 kB / 1.108 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/1.2, allocations: 178.3 kB / 1.108 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002535/1.2, allocations: 142.8 kB / 1.109 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003729/1.2, allocations: 158.1 kB / 1.109 GB, free: 17.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/1.203, allocations: 0.8684 MB / 1.11 GB, free: 17.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.203, allocations: 0 / 1.11 GB, free: 17.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/1.203, allocations: 0 / 1.11 GB, free: 17.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.797e-05/1.203, allocations: 0 / 1.11 GB, free: 17.2 MB / 0.698 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.003489/1.206, allocations: 0.9914 MB / 1.111 GB, free: 16.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/1.206, allocations: 10.05 kB / 1.111 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004719/1.207, allocations: 109.4 kB / 1.111 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/1.207, allocations: 100.8 kB / 1.111 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/1.21, allocations: 0.6318 MB / 1.111 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/1.21, allocations: 45.16 kB / 1.111 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.21, allocations: 66.05 kB / 1.111 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/1.212, allocations: 0.6839 MB / 1.112 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/1.212, allocations: 0 / 1.112 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/1.212, allocations: 27.44 kB / 1.112 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/1.212, allocations: 18.11 kB / 1.112 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/1.215, allocations: 0.9158 MB / 1.113 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006648/1.222, allocations: 2.335 MB / 1.115 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/1.224, allocations: 0.5944 MB / 1.116 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/1.224, allocations: 32.77 kB / 1.116 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009584/1.225, allocations: 344.8 kB / 1.116 GB, free: 14.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.988e-06/1.225, allocations: 0 / 1.116 GB, free: 14.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.002238/1.227, allocations: 0.6985 MB / 1.117 GB, free: 14.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/1.227, allocations: 248.9 kB / 1.117 GB, free: 14.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/1.228, allocations: 0.5771 MB / 1.118 GB, free: 14.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000236/1.229, allocations: 37.7 kB / 1.118 GB, free: 14.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/1.229, allocations: 326.5 kB / 1.118 GB, free: 14.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/1.229, allocations: 204.2 kB / 1.118 GB, free: 13.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/1.23, allocations: 8 kB / 1.118 GB, free: 13.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002203/1.23, allocations: 377.7 kB / 1.119 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/1.23, allocations: 163.1 kB / 1.119 GB, free: 13.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/1.231, allocations: 284.4 kB / 1.119 GB, free: 13.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/1.232, allocations: 216.3 kB / 1.119 GB, free: 13.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.232, allocations: 5.031 kB / 1.119 GB, free: 13.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001583/1.233, allocations: 0.5412 MB / 1.12 GB, free: 13.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/1.233, allocations: 11.83 kB / 1.12 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.233, allocations: 2.531 kB / 1.12 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/1.233, allocations: 4.875 kB / 1.12 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/1.234, allocations: 121 kB / 1.12 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/1.234, allocations: 9.062 kB / 1.12 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009628/1.235, allocations: 71.53 kB / 1.12 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-05/1.235, allocations: 25.77 kB / 1.12 GB, free: 13.38 MB / 0.698 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.0007202/1.236, allocations: 238.4 kB / 1.12 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/1.236, allocations: 71.09 kB / 1.12 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/1.239, allocations: 0.7575 MB / 1.121 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/1.239, allocations: 7.766 kB / 1.121 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.239, allocations: 6.875 kB / 1.121 GB, free: 13.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.239, allocations: 4.359 kB / 1.121 GB, free: 13.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/1.241, allocations: 0.881 MB / 1.122 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.241, allocations: 4.922 kB / 1.122 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009382/1.242, allocations: 114 kB / 1.122 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/1.242, allocations: 2.562 kB / 1.122 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/1.242, allocations: 23.09 kB / 1.122 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/1.242, allocations: 11.09 kB / 1.122 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.242, allocations: 4.031 kB / 1.122 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/1.244, allocations: 0.6423 MB / 1.123 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005971/1.244, allocations: 253.8 kB / 1.123 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/1.244, allocations: 18.33 kB / 1.123 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/1.245, allocations: 56.86 kB / 1.123 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/1.245, allocations: 47.05 kB / 1.123 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/1.246, allocations: 24.78 kB / 1.123 GB, free: 12.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009084/1.246, allocations: 419 kB / 1.124 GB, free: 12.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.246, allocations: 1.859 kB / 1.124 GB, free: 12.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001349/1.248, allocations: 219.5 kB / 1.124 GB, free: 12.34 MB / 0.698 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.003876/1.252, allocations: 1.715 MB / 1.125 GB, free: 11.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001546/1.253, allocations: 466.2 kB / 1.126 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.253, allocations: 2.438 kB / 1.126 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007193/1.254, allocations: 274.7 kB / 1.126 GB, free: 11.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.256, allocations: 220.2 kB / 1.126 GB, free: 11.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.27, allocations: 4.608 MB / 1.131 GB, free: 9.305 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008469/1.27, allocations: 0.9666 MB / 1.132 GB, free: 8.598 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001581/1.272, allocations: 235.6 kB / 1.132 GB, free: 8.535 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008341/1.273, allocations: 295.9 kB / 1.132 GB, free: 8.527 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/1.273, allocations: 0 / 1.132 GB, free: 8.527 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07626/1.349, allocations: 16.53 MB / 1.148 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003548/1.35, allocations: 262.5 kB / 1.149 GB, free: 0.5781 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.c:7: In file included from ./Buildings_8_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/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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_functions.o] Error 1