Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 103.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7979/0.7979, allocations: 135.2 MB / 426.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 0.506 GB, free: 8.309 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3497, allocations: 80.92 MB / 0.5851 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004904/0.3547, allocations: 4.014 MB / 0.589 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1701/0.5248, allocations: 150.4 MB / 0.7359 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008487/0.5257, allocations: 15.94 kB / 0.7359 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000541/0.5263, allocations: 154.5 kB / 0.7361 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.5279, allocations: 456.2 kB / 0.7365 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.5295, allocations: 0.7076 MB / 0.7372 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.5307, allocations: 1.086 MB / 0.7382 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007096/0.5314, allocations: 0.4945 MB / 0.7387 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004288/0.5318, allocations: 362.6 kB / 0.7391 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.5323, allocations: 366.3 kB / 0.7394 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.5325, allocations: 84 kB / 0.7395 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007153/0.5332, allocations: 359.7 kB / 0.7398 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.5334, allocations: 235.3 kB / 0.7401 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.5338, allocations: 429.7 kB / 0.7405 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.5352, allocations: 1.238 MB / 0.7417 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5352, allocations: 0 / 0.7417 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5352, allocations: 0 / 0.7417 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.5352, allocations: 0 / 0.7417 GB, free: 9.602 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001754/0.5369, allocations: 1.173 MB / 0.7428 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.537, allocations: 13.05 kB / 0.7428 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.5373, allocations: 103.8 kB / 0.7429 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008738/0.5382, allocations: 0.6522 MB / 0.7436 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.5382, allocations: 45.31 kB / 0.7436 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.5383, allocations: 64 kB / 0.7437 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.5393, allocations: 0.7047 MB / 0.7444 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5394, allocations: 4 kB / 0.7444 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.5394, allocations: 28 kB / 0.7444 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.5395, allocations: 16 kB / 0.7444 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.5407, allocations: 0.922 MB / 0.7453 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.5439, allocations: 2.353 MB / 0.7476 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009467/0.5449, allocations: 0.5928 MB / 0.7482 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.5452, allocations: 219.3 kB / 0.7484 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.08e-05/0.5453, allocations: 32.59 kB / 0.7484 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006291/0.5459, allocations: 346.4 kB / 0.7488 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.395e-06/0.5459, allocations: 0 / 0.7488 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.001324/0.5473, allocations: 0.7058 MB / 0.7495 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/0.5474, allocations: 243.9 kB / 0.7497 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008239/0.5483, allocations: 0.5862 MB / 0.7503 GB, free: 496 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.5483, allocations: 45.64 kB / 0.7503 GB, free: 444 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.5487, allocations: 340.5 kB / 0.7506 GB, free: 96 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.2986/0.8473, allocations: 189.8 kB / 0.7508 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.8476, allocations: 141.5 kB / 0.7509 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.8478, allocations: 381.9 kB / 0.7513 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.8481, allocations: 187.2 kB / 0.7515 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.8486, allocations: 293.8 kB / 0.7518 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000714/0.8493, allocations: 479.6 kB / 0.7522 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8493, allocations: 2.281 kB / 0.7522 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001062/0.8504, allocations: 0.5997 MB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.8504, allocations: 7.938 kB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8504, allocations: 0.625 kB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.8504, allocations: 3.938 kB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.8509, allocations: 130.6 kB / 0.7529 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.851, allocations: 4.031 kB / 0.753 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.8515, allocations: 81.69 kB / 0.753 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.401e-05/0.8515, allocations: 30.64 kB / 0.7531 GB, free: 164.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003275/0.8519, allocations: 247.4 kB / 0.7533 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.852, allocations: 66.88 kB / 0.7534 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.8535, allocations: 0.7453 MB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.8535, allocations: 8.25 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.8535, allocations: 5.156 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.8535, allocations: 4.047 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.8545, allocations: 0.8925 MB / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.8545, allocations: 1.438 kB / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.8549, allocations: 120.9 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.8549, allocations: 8.25 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.855, allocations: 19.38 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.855, allocations: 5.797 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.855, allocations: 1.766 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.856, allocations: 0.6357 MB / 0.7557 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.8563, allocations: 242.1 kB / 0.756 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.8564, allocations: 20.81 kB / 0.756 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.8568, allocations: 42.67 kB / 0.756 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.8569, allocations: 46.98 kB / 0.7561 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.857, allocations: 29.56 kB / 0.7561 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005439/0.8576, allocations: 430.4 kB / 0.7565 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8576, allocations: 3.938 kB / 0.7565 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007339/0.8583, allocations: 246.3 kB / 0.7568 GB, free: 163.1 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00184/0.8602, allocations: 0.5857 MB / 0.7573 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.8617, allocations: 0.6645 MB / 0.758 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8617, allocations: 5.062 kB / 0.758 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.8622, allocations: 276.3 kB / 0.7582 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.8631, allocations: 254.1 kB / 0.7585 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.8651, allocations: 1.356 MB / 0.7598 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.8654, allocations: 0.9548 MB / 0.7607 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.8656, allocations: 99.38 kB / 0.7608 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.8657, allocations: 0 / 0.7608 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.01311/0.8788, allocations: 12.31 MB / 0.7729 GB, free: 150.1 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.o] Error 1