Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002476/0.002476, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.127/1.127, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.87/2.87, allocations: 221.3 MB / 400.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 103.7 kB / 483.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.793e-05/6.833e-05, allocations: 5.188 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.277, allocations: 82.3 MB / 0.6405 GB, free: 7.762 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.422, allocations: 111.5 MB / 0.7494 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003873/1.423, allocations: 76.44 kB / 0.7495 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008819/1.431, allocations: 2.326 MB / 0.7518 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.326e-06/1.431, allocations: 0 / 0.7518 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.528e-06/1.431, allocations: 0 / 0.7518 GB, free: 27.3 MB / 0.5105 GB 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.0004255/1.432, allocations: 336.2 kB / 0.7521 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.713e-05/1.432, allocations: 11.69 kB / 0.7521 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.121e-05/1.432, allocations: 105.8 kB / 0.7522 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/1.432, allocations: 79.19 kB / 0.7523 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/1.433, allocations: 244.6 kB / 0.7525 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.952e-05/1.433, allocations: 158 kB / 0.7527 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/1.433, allocations: 154.6 kB / 0.7528 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/1.433, allocations: 101 kB / 0.7529 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.037e-05/1.433, allocations: 75.28 kB / 0.753 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.433, allocations: 154.5 kB / 0.7531 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.089e-05/1.433, allocations: 150.6 kB / 0.7533 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.371e-05/1.433, allocations: 154.4 kB / 0.7534 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/1.434, allocations: 464.9 kB / 0.7539 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/1.434, allocations: 165.1 kB / 0.754 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/1.434, allocations: 80.14 kB / 0.7541 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/1.434, allocations: 79.22 kB / 0.7542 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.007e-05/1.434, allocations: 113.8 kB / 0.7543 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/1.434, allocations: 0 / 0.7543 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.0001296/1.434, allocations: 31.88 kB / 0.7543 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/1.434, allocations: 126.7 kB / 0.7544 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/1.435, allocations: 99.89 kB / 0.7545 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/1.435, allocations: 25.7 kB / 0.7545 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/1.435, allocations: 80.14 kB / 0.7546 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/1.435, allocations: 0 / 0.7546 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/1.435, allocations: 4 kB / 0.7546 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002036/1.435, allocations: 317.9 kB / 0.7549 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/1.435, allocations: 3.812 kB / 0.7549 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/1.435, allocations: 10.53 kB / 0.7549 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.964e-05/1.435, allocations: 3.844 kB / 0.7549 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.435, allocations: 3.953 kB / 0.7549 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001505/1.435, allocations: 43.2 kB / 0.755 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.435, allocations: 4.969 kB / 0.755 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/1.435, allocations: 4.125 kB / 0.755 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/1.435, allocations: 3.781 kB / 0.755 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-06/1.435, allocations: 2.672 kB / 0.755 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.435, allocations: 0 / 0.755 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/1.435, allocations: 3.906 kB / 0.755 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/1.435, allocations: 8.688 kB / 0.755 GB, free: 23.87 MB / 0.5105 GB 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 () * 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 0.0001483/1.436, allocations: 176.3 kB / 0.7552 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/1.436, allocations: 115.5 kB / 0.7553 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.519e-05/1.436, allocations: 112.5 kB / 0.7554 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/1.436, allocations: 179.4 kB / 0.7556 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001067/1.436, allocations: 183.2 kB / 0.7557 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/1.436, allocations: 180.1 kB / 0.7559 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/1.436, allocations: 402.8 kB / 0.7563 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.967e-05/1.437, allocations: 109 kB / 0.7564 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/1.437, allocations: 107.5 kB / 0.7565 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.727e-05/1.437, allocations: 184.2 kB / 0.7567 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/1.437, allocations: 183.3 kB / 0.7569 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.926e-05/1.437, allocations: 183.9 kB / 0.757 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-05/1.437, allocations: 178.9 kB / 0.7572 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/1.437, allocations: 306.7 kB / 0.7575 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/1.437, allocations: 184.8 kB / 0.7577 GB, free: 21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.438, allocations: 187.9 kB / 0.7579 GB, free: 20.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/1.438, allocations: 111.3 kB / 0.758 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.438, allocations: 185.2 kB / 0.7581 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/1.438, allocations: 101 kB / 0.7582 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.977e-05/1.438, allocations: 85.91 kB / 0.7583 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/1.438, allocations: 0 / 0.7583 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003616/1.438, allocations: 6.594 kB / 0.7583 GB, free: 20.34 MB / 0.5105 GB 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 () * 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.0007888/1.439, allocations: 0.8183 MB / 0.7591 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.244e-05/1.439, allocations: 3.812 kB / 0.7591 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.439, allocations: 0 / 0.7591 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-06/1.439, allocations: 0 / 0.7591 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/1.44, allocations: 0.5303 MB / 0.7596 GB, free: 19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/1.44, allocations: 163.4 kB / 0.7598 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/1.441, allocations: 0.6793 MB / 0.7605 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.735e-05/1.441, allocations: 0 / 0.7605 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/1.441, allocations: 13.66 kB / 0.7605 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/1.441, allocations: 0 / 0.7605 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/1.461, allocations: 1.071 MB / 0.7615 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/1.462, allocations: 188.9 kB / 0.7617 GB, free: 17.77 MB / 0.5105 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -c -o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -c -o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:7: In file included from ./IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: *** [: IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o] Error 1