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.001146/0.001146, allocations: 107 kB / 16.41 MB, free: 6.504 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.001148/0.001148, allocations: 187 kB / 17.34 MB, free: 5.742 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7076/0.7076, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 61.94 kB / 0.5862 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1204, allocations: 80.92 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007826/0.1282, allocations: 6.951 MB / 0.672 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4242/0.5525, allocations: 155.7 MB / 0.8241 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.5535, allocations: 28.38 kB / 0.8241 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008287/0.5544, allocations: 288.6 kB / 0.8244 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.5565, allocations: 0.71 MB / 0.8251 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.559, allocations: 1.286 MB / 0.8264 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003778/0.5628, allocations: 4.562 MB / 0.8308 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/0.5658, allocations: 2.873 MB / 0.8336 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.5682, allocations: 1.763 MB / 0.8354 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.5703, allocations: 1.775 MB / 0.8371 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004789/0.5707, allocations: 467.4 kB / 0.8375 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.5722, allocations: 1.071 MB / 0.8386 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.5729, allocations: 0.9927 MB / 0.8396 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.5745, allocations: 1.872 MB / 0.8414 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004207/0.5787, allocations: 5.525 MB / 0.8468 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5787, allocations: 0 / 0.8468 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5787, allocations: 0 / 0.8468 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.823e-05/0.5787, allocations: 0 / 0.8468 GB, free: 4.656 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.006107/0.5849, allocations: 3.869 MB / 0.8506 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.5849, allocations: 9.109 kB / 0.8506 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008037/0.5929, allocations: 1.287 MB / 0.8518 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.5959, allocations: 2.124 MB / 0.8539 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.5961, allocations: 238 kB / 0.8541 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004204/0.5965, allocations: 292 kB / 0.8544 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007795/0.6043, allocations: 4.462 MB / 0.8588 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.078e-05/0.6044, allocations: 4 kB / 0.8588 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.6046, allocations: 124 kB / 0.8589 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.6047, allocations: 72 kB / 0.8589 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00977/0.6145, allocations: 4.885 MB / 0.8637 GB, free: 3.805 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.0184/0.6329, allocations: 14 MB / 0.8774 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009415/0.6423, allocations: 4.035 MB / 0.8813 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00328/0.6456, allocations: 1.666 MB / 0.883 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.6467, allocations: 1.073 MB / 0.884 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003882/0.6506, allocations: 2.039 MB / 0.886 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 3.757e-06/0.6506, allocations: 0 / 0.886 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01202/0.6626, allocations: 5.218 MB / 0.8911 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.6627, allocations: 205.9 kB / 0.8913 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/0.6651, allocations: 1.939 MB / 0.8932 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.6653, allocations: 61.7 kB / 0.8932 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008587/0.6662, allocations: 1.164 MB / 0.8944 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005639/0.6668, allocations: 0.7162 MB / 0.8951 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007887/0.6676, allocations: 0.5228 MB / 0.8956 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.6677, allocations: 305.1 kB / 0.8959 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003338/0.671, allocations: 1.573 MB / 0.8974 GB, free: 164 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003636/0.6747, allocations: 1.883 MB / 0.8993 GB, free: 14.18 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006967/0.6816, allocations: 3.419 MB / 0.9026 GB, free: 10.69 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6817, allocations: 0 / 0.9026 GB, free: 10.69 MB / 0.67 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.008667/0.6903, allocations: 3.955 MB / 0.9065 GB, free: 6.723 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6904, allocations: 6.031 kB / 0.9065 GB, free: 6.719 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.6904, allocations: 8 kB / 0.9065 GB, free: 6.711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.6909, allocations: 96.89 kB / 0.9066 GB, free: 6.613 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/0.6941, allocations: 0.698 MB / 0.9072 GB, free: 5.914 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.696, allocations: 1.701 MB / 0.9089 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/0.6988, allocations: 421.6 kB / 0.9093 GB, free: 3.652 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/0.699, allocations: 131.8 kB / 0.9094 GB, free: 3.523 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.001464/0.7005, allocations: 0.9326 MB / 0.9103 GB, free: 2.578 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/0.7009, allocations: 213.3 kB / 0.9105 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00909/0.71, allocations: 4.204 MB / 0.9147 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.7101, allocations: 24 kB / 0.9147 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7101, allocations: 4 kB / 0.9147 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.7101, allocations: 11.95 kB / 0.9147 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/0.7225, allocations: 7.845 MB / 0.9224 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.7225, allocations: 0 / 0.9224 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/0.7251, allocations: 0.5772 MB / 0.9229 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004061/0.7256, allocations: 80.78 kB / 0.923 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/0.7257, allocations: 67.94 kB / 0.9231 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.7275, allocations: 1.717 MB / 0.9247 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7275, allocations: 0 / 0.9247 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007105/0.7346, allocations: 3.46 MB / 0.9281 GB, free: 16 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.7358, allocations: 0.7397 MB / 0.9288 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/0.7361, allocations: 59.69 kB / 0.9289 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/0.7381, allocations: 271.6 kB / 0.9292 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/0.7384, allocations: 149.7 kB / 0.9293 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/0.7386, allocations: 95.94 kB / 0.9294 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001845/0.7405, allocations: 1.478 MB / 0.9308 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7405, allocations: 0 / 0.9308 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002002/0.7425, allocations: 0.876 MB / 0.9317 GB, free: 12.31 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.001424/0.7439, allocations: 0.6872 MB / 0.9324 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00724/0.7512, allocations: 3.588 MB / 0.9359 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7512, allocations: 0 / 0.9359 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003341/0.7545, allocations: 1.79 MB / 0.9376 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.7563, allocations: 433.5 kB / 0.938 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.7666, allocations: 6.273 MB / 0.9441 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/0.7681, allocations: 2.223 MB / 0.9463 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/0.7694, allocations: 319.2 kB / 0.9466 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of SimCode: time 1.683e-06/0.7695, allocations: 0 / 0.9466 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of Templates: time 0.06203/0.8315, allocations: 60.07 MB / 1.005 GB, free: 1.047 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