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.007049/0.007049, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.72/0.72, allocations: 135.2 MB / 151 MB, free: 13.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 1.357/1.357, allocations: 223.2 MB / 406.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008288/0.0008288, allocations: 97.64 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005148/0.0005146, allocations: 16 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4547, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5969, allocations: 111.6 MB / 0.7585 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.5972, allocations: 83.95 kB / 0.7586 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006382/0.6036, allocations: 2.506 MB / 0.761 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6036, allocations: 0 / 0.761 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.6037, allocations: 0 / 0.761 GB, free: 1.789 MB / 0.5261 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.0003244/0.604, allocations: 339.3 kB / 0.7614 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.604, allocations: 8.031 kB / 0.7614 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.6041, allocations: 113.7 kB / 0.7615 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.6042, allocations: 79.28 kB / 0.7615 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.6043, allocations: 242.3 kB / 0.7618 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.6044, allocations: 150.6 kB / 0.7619 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.6045, allocations: 158.5 kB / 0.7621 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.975e-05/0.6046, allocations: 105 kB / 0.7622 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.6046, allocations: 75.28 kB / 0.7622 GB, free: 448 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.6047, allocations: 158.5 kB / 0.7624 GB, free: 288 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/0.6047, allocations: 150.6 kB / 0.7625 GB, free: 136 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/0.6048, allocations: 154.5 kB / 0.7627 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.6051, allocations: 457.9 kB / 0.7631 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.6052, allocations: 169.1 kB / 0.7633 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.6052, allocations: 75.28 kB / 0.7634 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.6053, allocations: 109.8 kB / 0.7635 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.6053, allocations: 0 / 0.7635 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.682e-05/0.6054, allocations: 37.64 kB / 0.7635 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.6054, allocations: 126.7 kB / 0.7636 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.6055, allocations: 108.9 kB / 0.7637 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.6055, allocations: 25.7 kB / 0.7637 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.6056, allocations: 80.14 kB / 0.7638 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.6056, allocations: 0 / 0.7638 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.6056, allocations: 0 / 0.7638 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6057, allocations: 315.5 kB / 0.7641 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.6058, allocations: 8 kB / 0.7641 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.6058, allocations: 11.98 kB / 0.7641 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.6058, allocations: 4 kB / 0.7641 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6058, allocations: 0 / 0.7641 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/0.6059, allocations: 45.58 kB / 0.7642 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.606, allocations: 9.094 kB / 0.7642 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.606, allocations: 0 / 0.7642 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.606, allocations: 0 / 0.7642 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.606, allocations: 128 / 0.7642 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.606, allocations: 4 kB / 0.7642 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.6061, allocations: 4 kB / 0.7642 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.6061, allocations: 4 kB / 0.7642 GB, free: 14.3 MB / 0.5417 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 () * 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 0.0001043/0.6062, allocations: 187.3 kB / 0.7644 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.6063, allocations: 108.9 kB / 0.7645 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.6063, allocations: 108.5 kB / 0.7646 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.027e-05/0.6064, allocations: 184.3 kB / 0.7648 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.497e-05/0.6064, allocations: 188.2 kB / 0.765 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.236e-05/0.6065, allocations: 180.3 kB / 0.7651 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.6067, allocations: 397.2 kB / 0.7655 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.905e-05/0.6068, allocations: 116.8 kB / 0.7656 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.6068, allocations: 101 kB / 0.7657 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.803e-05/0.6069, allocations: 188.2 kB / 0.7659 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.898e-05/0.607, allocations: 180.3 kB / 0.7661 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-05/0.607, allocations: 176.3 kB / 0.7662 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-05/0.6071, allocations: 184.2 kB / 0.7664 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.6073, allocations: 309.5 kB / 0.7667 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.6073, allocations: 189.9 kB / 0.7669 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-05/0.6074, allocations: 184.2 kB / 0.7671 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.6075, allocations: 104.9 kB / 0.7672 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.6076, allocations: 180.3 kB / 0.7673 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.6076, allocations: 112.9 kB / 0.7674 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.6077, allocations: 87.52 kB / 0.7675 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6077, allocations: 0 / 0.7675 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002215/0.6079, allocations: 4 kB / 0.7675 GB, free: 10.68 MB / 0.5417 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 () * 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.0004873/0.6084, allocations: 0.8088 MB / 0.7683 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.462e-05/0.6085, allocations: 7.938 kB / 0.7683 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6085, allocations: 0 / 0.7683 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.6085, allocations: 4 kB / 0.7683 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.6088, allocations: 0.5224 MB / 0.7688 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.6093, allocations: 373.9 kB / 0.7692 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.6095, allocations: 0.677 MB / 0.7699 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.6095, allocations: 0 / 0.7699 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.6096, allocations: 11.44 kB / 0.7699 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.6096, allocations: 0 / 0.7699 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.6219, allocations: 1.073 MB / 0.7709 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.6221, allocations: 218.8 kB / 0.7711 GB, free: 7.078 MB / 0.5417 GB 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/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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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/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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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