Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.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.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 106.4 kB / 16.41 MB, free: 6.512 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.001226/0.001226, allocations: 184.2 kB / 17.34 MB, free: 5.727 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8495/0.8495, allocations: 135.2 MB / 426.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 65.55 kB / 0.5863 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1693, allocations: 80.93 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.009942/0.1793, allocations: 6.959 MB / 0.6721 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6/0.7793, allocations: 156.2 MB / 0.8246 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.781, allocations: 27.06 kB / 0.8247 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009479/0.7819, allocations: 290.6 kB / 0.8249 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.7845, allocations: 0.7228 MB / 0.8256 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.7877, allocations: 1.292 MB / 0.8269 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005418/0.7931, allocations: 4.56 MB / 0.8314 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.7962, allocations: 2.078 MB / 0.8334 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.7996, allocations: 1.771 MB / 0.8351 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/0.8025, allocations: 1.785 MB / 0.8369 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008583/0.8034, allocations: 469 kB / 0.8373 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.8058, allocations: 1.06 MB / 0.8383 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.8068, allocations: 0.9943 MB / 0.8393 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002694/0.8095, allocations: 1.872 MB / 0.8411 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007597/0.8171, allocations: 5.54 MB / 0.8466 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.8171, allocations: 2.656 kB / 0.8466 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8171, allocations: 0 / 0.8466 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001803/0.8173, allocations: 0 / 0.8466 GB, free: 4.492 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.009898/0.8272, allocations: 3.959 MB / 0.8504 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.8272, allocations: 13.11 kB / 0.8504 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009387/0.8366, allocations: 1.301 MB / 0.8517 GB, free: 372 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005025/0.8416, allocations: 2.153 MB / 0.8538 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/0.8419, allocations: 230 kB / 0.854 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009521/0.8428, allocations: 289.1 kB / 0.8543 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.8541, allocations: 4.456 MB / 0.8587 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-05/0.8541, allocations: 0 / 0.8587 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/0.8545, allocations: 124 kB / 0.8588 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-05/0.8546, allocations: 80 kB / 0.8588 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.8676, allocations: 4.881 MB / 0.8636 GB, free: 3.988 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02696/0.8945, allocations: 14.04 MB / 0.8773 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/0.9058, allocations: 3.885 MB / 0.8811 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0042/0.91, allocations: 1.56 MB / 0.8826 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.9113, allocations: 1.077 MB / 0.8837 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00484/0.9162, allocations: 2.035 MB / 0.8857 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 3.747e-06/0.9162, allocations: 0 / 0.8857 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01423/0.9304, allocations: 5.235 MB / 0.8908 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.9306, allocations: 209.9 kB / 0.891 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.9337, allocations: 1.932 MB / 0.8929 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004258/0.9342, allocations: 65.7 kB / 0.8929 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.9354, allocations: 1.195 MB / 0.8941 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009753/0.9364, allocations: 0.7552 MB / 0.8948 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.9374, allocations: 0.5152 MB / 0.8954 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9375, allocations: 305.1 kB / 0.8956 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004028/0.9415, allocations: 1.577 MB / 0.8972 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00446/0.946, allocations: 1.875 MB / 0.899 GB, free: 14.53 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008575/0.9546, allocations: 3.423 MB / 0.9024 GB, free: 11.04 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/0.9546, allocations: 0 / 0.9024 GB, free: 11.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01065/0.9652, allocations: 3.967 MB / 0.9062 GB, free: 7.055 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.9653, allocations: 8 kB / 0.9062 GB, free: 7.047 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.9653, allocations: 7.984 kB / 0.9062 GB, free: 7.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.9659, allocations: 93.03 kB / 0.9063 GB, free: 6.945 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/0.9696, allocations: 0.6941 MB / 0.907 GB, free: 6.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.9719, allocations: 1.699 MB / 0.9087 GB, free: 4.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003502/0.9754, allocations: 440.4 kB / 0.9091 GB, free: 3.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004012/0.9758, allocations: 135.8 kB / 0.9092 GB, free: 3.848 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (273): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002065/0.9779, allocations: 0.9337 MB / 0.9101 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000714/0.9786, allocations: 226.5 kB / 0.9103 GB, free: 2.684 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.9897, allocations: 4.196 MB / 0.9144 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.9898, allocations: 24 kB / 0.9145 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.9898, allocations: 0 / 0.9145 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/0.9898, allocations: 11.95 kB / 0.9145 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.01, allocations: 7.855 MB / 0.9222 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/1.01, allocations: 0 / 0.9222 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004479/1.014, allocations: 0.585 MB / 0.9227 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006179/1.015, allocations: 80.78 kB / 0.9228 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000409/1.015, allocations: 63.95 kB / 0.9229 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/1.018, allocations: 1.717 MB / 0.9245 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/1.018, allocations: 0 / 0.9245 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/1.03, allocations: 3.47 MB / 0.9279 GB, free: 324 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002275/1.033, allocations: 0.7566 MB / 0.9287 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007753/1.033, allocations: 67.78 kB / 0.9287 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003324/1.037, allocations: 259.6 kB / 0.929 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004729/1.037, allocations: 161.5 kB / 0.9291 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003759/1.038, allocations: 83.94 kB / 0.9292 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003278/1.041, allocations: 1.478 MB / 0.9307 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.01e-07/1.041, allocations: 0 / 0.9307 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003795/1.045, allocations: 0.8765 MB / 0.9315 GB, free: 12.6 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002876/1.047, allocations: 0.6914 MB / 0.9322 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.06, allocations: 3.464 MB / 0.9356 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.06, allocations: 0 / 0.9356 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005447/1.066, allocations: 1.689 MB / 0.9372 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/1.068, allocations: 442.4 kB / 0.9376 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/1.082, allocations: 6.366 MB / 0.9439 GB, free: 84 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002134/1.084, allocations: 2.223 MB / 0.946 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/1.086, allocations: 315.2 kB / 0.9463 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of SimCode: time 1.113e-06/1.086, allocations: 3.938 kB / 0.9463 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.08743/1.173, allocations: 59.81 MB / 1.005 GB, free: 1.691 MB / 0.7637 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.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.Examples.SimInfoManagerCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerFunctions.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.Examples.SimInfoManagerCalcHelperMain.o] Error 1