Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001727/0.001727, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8683/0.8683, allocations: 135.1 MB / 425.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 63.89 kB / 0.5055 GB, free: 8.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4507, allocations: 80.92 MB / 0.5845 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.00635/0.4571, allocations: 4.027 MB / 0.5884 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1671/0.6242, allocations: 148.2 MB / 0.7332 GB, free: 2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.6254, allocations: 19.88 kB / 0.7332 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000815/0.6262, allocations: 127 kB / 0.7333 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.6285, allocations: 394.4 kB / 0.7337 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.6306, allocations: 0.6464 MB / 0.7343 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.6322, allocations: 1.079 MB / 0.7354 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009077/0.6331, allocations: 0.4983 MB / 0.7359 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006716/0.6338, allocations: 366.6 kB / 0.7362 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.6344, allocations: 370.3 kB / 0.7366 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.6346, allocations: 84 kB / 0.7367 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008629/0.6355, allocations: 363.7 kB / 0.737 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.6358, allocations: 223.3 kB / 0.7372 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005239/0.6363, allocations: 429.7 kB / 0.7376 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.6377, allocations: 0.9473 MB / 0.7386 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6377, allocations: 0 / 0.7386 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.827e-06/0.6377, allocations: 0 / 0.7386 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.426e-05/0.6378, allocations: 3.938 kB / 0.7386 GB, free: 12.48 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.002058/0.6398, allocations: 1.182 MB / 0.7397 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.6399, allocations: 9.109 kB / 0.7397 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.6402, allocations: 107.8 kB / 0.7398 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/0.6411, allocations: 0.656 MB / 0.7405 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.6411, allocations: 45.31 kB / 0.7405 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.6412, allocations: 64 kB / 0.7406 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.6423, allocations: 0.7048 MB / 0.7413 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.6423, allocations: 4 kB / 0.7413 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/0.6424, allocations: 28 kB / 0.7413 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.6424, allocations: 12 kB / 0.7413 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.6436, allocations: 0.9259 MB / 0.7422 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.6468, allocations: 2.348 MB / 0.7445 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009783/0.6478, allocations: 0.5967 MB / 0.7451 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.6482, allocations: 219.3 kB / 0.7453 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-05/0.6483, allocations: 36.58 kB / 0.7453 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006478/0.6489, allocations: 342.4 kB / 0.7456 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.215e-06/0.6489, allocations: 0 / 0.7456 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.00138/0.6503, allocations: 0.7058 MB / 0.7463 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.6505, allocations: 243.9 kB / 0.7466 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009158/0.6514, allocations: 0.59 MB / 0.7471 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.6515, allocations: 37.7 kB / 0.7472 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.6518, allocations: 336.5 kB / 0.7475 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.652, allocations: 205.1 kB / 0.7477 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.6522, allocations: 142.1 kB / 0.7478 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.6524, allocations: 382.7 kB / 0.7482 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.6527, allocations: 185.3 kB / 0.7484 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.6532, allocations: 293.8 kB / 0.7487 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.6539, allocations: 480.2 kB / 0.7491 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6539, allocations: 0 / 0.7491 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009734/0.6549, allocations: 0.5958 MB / 0.7497 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6549, allocations: 5.562 kB / 0.7497 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.6549, allocations: 4 kB / 0.7497 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.655, allocations: 4.156 kB / 0.7497 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.6554, allocations: 131.8 kB / 0.7498 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.6555, allocations: 4 kB / 0.7498 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.656, allocations: 75.34 kB / 0.7499 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.6561, allocations: 39.91 kB / 0.7499 GB, free: 412 kB / 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.000332/0.6564, allocations: 238.6 kB / 0.7502 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.6566, allocations: 75.09 kB / 0.7502 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3806/1.037, allocations: 0.7427 MB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.037, allocations: 7.953 kB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.037, allocations: 4.984 kB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.037, allocations: 4.484 kB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/1.039, allocations: 0.8897 MB / 0.7519 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.039, allocations: 1.688 kB / 0.7519 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/1.039, allocations: 121.3 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.039, allocations: 2.656 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/1.039, allocations: 17.2 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/1.039, allocations: 2.5 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.039, allocations: 2.906 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/1.041, allocations: 0.6405 MB / 0.7526 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/1.041, allocations: 244.8 kB / 0.7529 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.041, allocations: 13.23 kB / 0.7529 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/1.042, allocations: 48.72 kB / 0.7529 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/1.042, allocations: 48.22 kB / 0.753 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/1.042, allocations: 25 kB / 0.753 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007848/1.043, allocations: 429.3 kB / 0.7534 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.043, allocations: 1.938 kB / 0.7534 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001097/1.044, allocations: 246.1 kB / 0.7536 GB, free: 164.2 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.001471/1.045, allocations: 0.6009 MB / 0.7542 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001595/1.047, allocations: 0.6555 MB / 0.7549 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/1.047, allocations: 2.062 kB / 0.7549 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004848/1.047, allocations: 275.9 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/1.049, allocations: 265.3 kB / 0.7554 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/1.051, allocations: 1.655 MB / 0.757 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/1.052, allocations: 0.9564 MB / 0.7579 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/1.052, allocations: 98.09 kB / 0.758 GB, free: 162 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/1.052, allocations: 0 / 0.758 GB, free: 162 MB / 0.5762 GB Notification: Performance of Templates: time 0.01746/1.07, allocations: 12.31 MB / 0.77 GB, free: 152.7 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile clang++ -std=c++14 -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_usingTwoYearDataNegativeStartCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartFunctions.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_usingTwoYearDataNegativeStartCalcHelperMain.o] Error 1