Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.0008666/0.0008666, allocations: 97.44 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008114/0.0008114, allocations: 175.1 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.139/1.139, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6017/0.6017, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002674, allocations: 13.61 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1177, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001026/0.1187, allocations: 0.9667 MB / 0.5577 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000751/0.1195, allocations: 0.6937 MB / 0.5583 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.1195, allocations: 3.938 kB / 0.5584 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.1195, allocations: 0 / 0.5584 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.1197, allocations: 7.984 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.1198, allocations: 39.94 kB / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.391e-05/0.1199, allocations: 15.97 kB / 0.5584 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.217e-05/0.1199, allocations: 0 / 0.5584 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.237e-05/0.12, allocations: 15.94 kB / 0.5584 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.1201, allocations: 7.984 kB / 0.5584 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1201, allocations: 3.984 kB / 0.5584 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.969e-05/0.1201, allocations: 4 kB / 0.5584 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.1202, allocations: 3.938 kB / 0.5584 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.1202, allocations: 33.64 kB / 0.5585 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.09e-05/0.1202, allocations: 15.98 kB / 0.5585 GB, free: 9.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.1203, allocations: 0 / 0.5585 GB, free: 9.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1203, allocations: 3.938 kB / 0.5585 GB, free: 9.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.1203, allocations: 0 / 0.5585 GB, free: 9.871 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002333/0.1205, allocations: 323.6 kB / 0.5588 GB, free: 9.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.1205, allocations: 8.031 kB / 0.5588 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.1206, allocations: 105.8 kB / 0.5589 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.1206, allocations: 83.19 kB / 0.559 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1208, allocations: 234.4 kB / 0.5592 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.1208, allocations: 158.5 kB / 0.5594 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.1209, allocations: 154.6 kB / 0.5595 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.509e-05/0.1209, allocations: 108.9 kB / 0.5596 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1209, allocations: 79.22 kB / 0.5597 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.121, allocations: 154.6 kB / 0.5598 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.121, allocations: 150.6 kB / 0.56 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.1211, allocations: 150.6 kB / 0.5601 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.1213, allocations: 457.9 kB / 0.5606 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.947e-05/0.1214, allocations: 169.1 kB / 0.5607 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1214, allocations: 87.2 kB / 0.5608 GB, free: 7.328 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1214, allocations: 105.8 kB / 0.5609 GB, free: 7.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.1214, allocations: 0 / 0.5609 GB, free: 7.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.7e-05/0.1215, allocations: 33.66 kB / 0.5609 GB, free: 7.176 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1215, allocations: 126.7 kB / 0.5611 GB, free: 7.039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.1216, allocations: 105.8 kB / 0.5612 GB, free: 6.926 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1216, allocations: 29.7 kB / 0.5612 GB, free: 6.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.1217, allocations: 80.14 kB / 0.5613 GB, free: 6.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.1217, allocations: 0 / 0.5613 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-06/0.1217, allocations: 0 / 0.5613 GB, free: 6.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.1218, allocations: 314.8 kB / 0.5616 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.1218, allocations: 8 kB / 0.5616 GB, free: 6.484 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.1218, allocations: 15.92 kB / 0.5616 GB, free: 6.469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.843e-05/0.1219, allocations: 4 kB / 0.5616 GB, free: 6.465 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1219, allocations: 3.938 kB / 0.5616 GB, free: 6.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.541e-05/0.1219, allocations: 41.59 kB / 0.5616 GB, free: 6.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.122, allocations: 4 kB / 0.5616 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.122, allocations: 4 kB / 0.5616 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.122, allocations: 0 / 0.5616 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-06/0.122, allocations: 4.078 kB / 0.5617 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.122, allocations: 4 kB / 0.5617 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.1221, allocations: 0 / 0.5617 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1221, allocations: 8 kB / 0.5617 GB, free: 6.391 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 8.447e-05/0.1222, allocations: 185.1 kB / 0.5618 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1222, allocations: 108.9 kB / 0.5619 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.1223, allocations: 104.5 kB / 0.562 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.866e-05/0.1224, allocations: 184.2 kB / 0.5622 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.257e-05/0.1224, allocations: 192.2 kB / 0.5624 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-05/0.1225, allocations: 184.3 kB / 0.5626 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1226, allocations: 397.2 kB / 0.563 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-05/0.1227, allocations: 109 kB / 0.5631 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.1227, allocations: 105.1 kB / 0.5632 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.094e-05/0.1228, allocations: 188.2 kB / 0.5633 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.1228, allocations: 176.3 kB / 0.5635 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-05/0.1229, allocations: 184.2 kB / 0.5637 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.626e-05/0.1229, allocations: 180.2 kB / 0.5639 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.589e-05/0.123, allocations: 311.7 kB / 0.5642 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.1231, allocations: 178.1 kB / 0.5643 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.1232, allocations: 188.2 kB / 0.5645 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.434e-05/0.1232, allocations: 101.2 kB / 0.5646 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.1233, allocations: 184.2 kB / 0.5648 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.1233, allocations: 105 kB / 0.5649 GB, free: 2.875 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.499e-05/0.1234, allocations: 91.27 kB / 0.565 GB, free: 2.785 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1234, allocations: 0 / 0.565 GB, free: 2.785 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.1236, allocations: 7.953 kB / 0.565 GB, free: 2.777 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003565/0.1239, allocations: 0.821 MB / 0.5658 GB, free: 1.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.345e-05/0.124, allocations: 8 kB / 0.5658 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.124, allocations: 0 / 0.5658 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.018e-06/0.124, allocations: 0 / 0.5658 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1242, allocations: 0.5256 MB / 0.5663 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.1246, allocations: 377.9 kB / 0.5667 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.1248, allocations: 0.677 MB / 0.5673 GB, free: 280 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.356e-05/0.1248, allocations: 0 / 0.5673 GB, free: 280 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.1249, allocations: 11.44 kB / 0.5673 GB, free: 268 kB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1249, allocations: 0 / 0.5673 GB, free: 268 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5861/0.711, allocations: 1.044 MB / 0.5683 GB, free: 15.42 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.7112, allocations: 210.7 kB / 0.5685 GB, free: 15.18 MB / 446.1 MB 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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1