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.00151/0.00151, allocations: 105.6 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.001496/0.001496, allocations: 189.8 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8375/0.8375, allocations: 135.2 MB / 426.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 59.91 kB / 0.506 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3057, allocations: 80.91 MB / 0.585 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004529/0.3102, allocations: 4.024 MB / 0.589 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1564/0.4666, allocations: 150.4 MB / 0.7359 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/0.4673, allocations: 15.94 kB / 0.7359 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000447/0.4677, allocations: 158.5 kB / 0.736 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.469, allocations: 461.2 kB / 0.7365 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.4705, allocations: 0.7116 MB / 0.7372 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009623/0.4714, allocations: 1.075 MB / 0.7382 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000661/0.4721, allocations: 0.51 MB / 0.7387 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.4725, allocations: 350.8 kB / 0.7391 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.4729, allocations: 375 kB / 0.7394 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.473, allocations: 84 kB / 0.7395 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005209/0.4736, allocations: 355.7 kB / 0.7398 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.4738, allocations: 231.2 kB / 0.7401 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.4742, allocations: 429.7 kB / 0.7405 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.4754, allocations: 1.235 MB / 0.7417 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4754, allocations: 0 / 0.7417 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4754, allocations: 3.938 kB / 0.7417 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.4754, allocations: 0 / 0.7417 GB, free: 9.617 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.001646/0.4771, allocations: 1.173 MB / 0.7428 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.4771, allocations: 13.09 kB / 0.7428 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.4774, allocations: 103.8 kB / 0.7429 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008548/0.4782, allocations: 0.6599 MB / 0.7436 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.4783, allocations: 49.31 kB / 0.7436 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.4784, allocations: 56 kB / 0.7437 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.4794, allocations: 0.7048 MB / 0.7444 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4794, allocations: 0 / 0.7444 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/0.4795, allocations: 28 kB / 0.7444 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.4795, allocations: 16 kB / 0.7444 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.4808, allocations: 0.9181 MB / 0.7453 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.4837, allocations: 2.349 MB / 0.7476 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.4846, allocations: 0.6084 MB / 0.7482 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.4849, allocations: 215.3 kB / 0.7484 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.629e-05/0.485, allocations: 28.59 kB / 0.7484 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005534/0.4855, allocations: 346.4 kB / 0.7488 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 1.683e-06/0.4855, allocations: 0 / 0.7488 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.001196/0.4867, allocations: 0.7097 MB / 0.7495 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.4869, allocations: 239.9 kB / 0.7497 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.4875, allocations: 0.5977 MB / 0.7503 GB, free: 496 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.4876, allocations: 37.7 kB / 0.7503 GB, free: 452 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.4879, allocations: 332.5 kB / 0.7506 GB, free: 112 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.2311/0.7189, allocations: 197 kB / 0.7508 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.7193, allocations: 140.6 kB / 0.7509 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7194, allocations: 381.8 kB / 0.7513 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.7198, allocations: 188.7 kB / 0.7515 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.7202, allocations: 291.5 kB / 0.7518 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.7209, allocations: 478.5 kB / 0.7522 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7209, allocations: 0.5938 kB / 0.7522 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009983/0.7219, allocations: 0.6039 MB / 0.7528 GB, free: 165 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.7219, allocations: 3.875 kB / 0.7528 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7219, allocations: 0.6875 kB / 0.7528 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.722, allocations: 8.312 kB / 0.7528 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.7225, allocations: 125.9 kB / 0.7529 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.7225, allocations: 11.47 kB / 0.7529 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.723, allocations: 75.81 kB / 0.753 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.723, allocations: 31.53 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.0002627/0.7233, allocations: 243.1 kB / 0.7533 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.7234, allocations: 70.47 kB / 0.7534 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.7248, allocations: 0.7504 MB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.7248, allocations: 7.281 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7248, allocations: 5.719 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.7248, allocations: 4.203 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008834/0.7257, allocations: 0.8916 MB / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.7257, allocations: 0.5625 kB / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.7262, allocations: 115.5 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.7262, allocations: 7 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.7262, allocations: 22.66 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.7262, allocations: 6.797 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7262, allocations: 0.6562 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009662/0.7272, allocations: 0.6301 MB / 0.7557 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.7275, allocations: 251 kB / 0.756 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.7276, allocations: 13.48 kB / 0.756 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.728, allocations: 47.39 kB / 0.756 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.7281, allocations: 46.84 kB / 0.7561 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.7282, allocations: 25.39 kB / 0.7561 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004896/0.7287, allocations: 430.6 kB / 0.7565 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.91e-07/0.7287, allocations: 0 / 0.7565 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006576/0.7293, allocations: 247.5 kB / 0.7567 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.001828/0.7312, allocations: 0.5967 MB / 0.7573 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.7326, allocations: 0.6584 MB / 0.758 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7326, allocations: 0.5312 kB / 0.758 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.733, allocations: 282 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.0009633/0.734, allocations: 259.9 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.001772/0.7358, allocations: 1.353 MB / 0.7598 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.7361, allocations: 0.9498 MB / 0.7607 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.7363, allocations: 100.5 kB / 0.7608 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.7363, allocations: 1.25 kB / 0.7608 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.01201/0.7484, allocations: 12.3 MB / 0.7728 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