Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="IDEAS_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.002442/0.002442, allocations: 174.1 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 0.8861/0.8861, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.3 MB / 400.4 MB, free: 5.852 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.0009431/0.000943, allocations: 105.9 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.592e-05/4.603e-05, allocations: 4.094 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1592, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.576/0.7352, allocations: 111.5 MB / 0.7494 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.7355, allocations: 86.92 kB / 0.7495 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005726/0.7412, allocations: 2.311 MB / 0.7518 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.736e-06/0.7413, allocations: 0 / 0.7518 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.7413, allocations: 0 / 0.7518 GB, free: 27.45 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.0002526/0.7415, allocations: 339.8 kB / 0.7521 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.7416, allocations: 7.781 kB / 0.7521 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.954e-05/0.7416, allocations: 109.8 kB / 0.7522 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.7417, allocations: 79.19 kB / 0.7523 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.7419, allocations: 238.3 kB / 0.7525 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.7419, allocations: 161.1 kB / 0.7527 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.742, allocations: 150.6 kB / 0.7528 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.594e-05/0.742, allocations: 104.7 kB / 0.7529 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.7421, allocations: 79.27 kB / 0.753 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.043e-05/0.7421, allocations: 154.5 kB / 0.7531 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/0.7422, allocations: 154.6 kB / 0.7533 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.842e-05/0.7423, allocations: 154.4 kB / 0.7534 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.7426, allocations: 453.1 kB / 0.7538 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.003e-05/0.7427, allocations: 175.8 kB / 0.754 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.7428, allocations: 84.14 kB / 0.7541 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.7428, allocations: 82.78 kB / 0.7542 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.7428, allocations: 106.5 kB / 0.7543 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7428, allocations: 0 / 0.7543 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.224e-05/0.7429, allocations: 29.45 kB / 0.7543 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.743, allocations: 126.7 kB / 0.7544 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.7431, allocations: 107.3 kB / 0.7545 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.7431, allocations: 25.7 kB / 0.7545 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.7432, allocations: 80.14 kB / 0.7546 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-06/0.7432, allocations: 0 / 0.7546 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-06/0.7432, allocations: 0 / 0.7546 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7433, allocations: 318.2 kB / 0.7549 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.7433, allocations: 2.953 kB / 0.7549 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.7434, allocations: 11.62 kB / 0.7549 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.834e-05/0.7434, allocations: 6.656 kB / 0.7549 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7434, allocations: 7.953 kB / 0.755 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.731e-05/0.7435, allocations: 37.23 kB / 0.755 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7435, allocations: 3.969 kB / 0.755 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7436, allocations: 2.859 kB / 0.755 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.7436, allocations: 3.875 kB / 0.755 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.7436, allocations: 0 / 0.755 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.7436, allocations: 0 / 0.755 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.7437, allocations: 3.906 kB / 0.755 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.7437, allocations: 3.844 kB / 0.755 GB, free: 24.02 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 9.867e-05/0.7438, allocations: 186.9 kB / 0.7552 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.7438, allocations: 112.9 kB / 0.7553 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.7439, allocations: 108.5 kB / 0.7554 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-05/0.744, allocations: 176.3 kB / 0.7556 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-05/0.744, allocations: 183.1 kB / 0.7557 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.189e-05/0.7441, allocations: 183.8 kB / 0.7559 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.7443, allocations: 404 kB / 0.7563 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.113e-05/0.7444, allocations: 104.7 kB / 0.7564 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.7444, allocations: 112.7 kB / 0.7565 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.469e-05/0.7445, allocations: 179.2 kB / 0.7567 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/0.7446, allocations: 180.2 kB / 0.7569 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.554e-05/0.7446, allocations: 188 kB / 0.757 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.39e-05/0.7447, allocations: 176.3 kB / 0.7572 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.7448, allocations: 305.8 kB / 0.7575 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.7449, allocations: 180.9 kB / 0.7577 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.745, allocations: 195.6 kB / 0.7579 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.7451, allocations: 105 kB / 0.758 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.7452, allocations: 187.7 kB / 0.7581 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.7452, allocations: 101 kB / 0.7582 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.7452, allocations: 86.91 kB / 0.7583 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7453, allocations: 0 / 0.7583 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002209/0.7455, allocations: 3.844 kB / 0.7583 GB, free: 20.48 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.0005318/0.746, allocations: 0.8238 MB / 0.7591 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.212e-05/0.7461, allocations: 7.688 kB / 0.7591 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7461, allocations: 0 / 0.7591 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.7461, allocations: 64 / 0.7591 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.7464, allocations: 0.5262 MB / 0.7596 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.7468, allocations: 161.4 kB / 0.7598 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.747, allocations: 0.6854 MB / 0.7605 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.827e-05/0.7471, allocations: 0 / 0.7605 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.7471, allocations: 11.44 kB / 0.7605 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.7471, allocations: 0 / 0.7605 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.7595, allocations: 1.07 MB / 0.7615 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.7597, allocations: 182.2 kB / 0.7617 GB, free: 17.89 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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:7: In file included from ./IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o] Error 1