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.001154/0.001154, allocations: 105.4 kB / 16.41 MB, free: 6.488 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.001138/0.001138, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.22/1.22, 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.7323/0.7323, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 67.02 kB / 0.5862 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1276, allocations: 80.92 MB / 0.6653 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.008083/0.1357, allocations: 6.956 MB / 0.6721 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4211/0.5568, allocations: 155.7 MB / 0.8241 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007878/0.5576, allocations: 32.06 kB / 0.8242 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00068/0.5583, allocations: 291.8 kB / 0.8244 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.56, allocations: 0.7192 MB / 0.8251 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.5622, allocations: 1.293 MB / 0.8264 GB, free: 2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003432/0.5656, allocations: 4.562 MB / 0.8309 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.5683, allocations: 2.88 MB / 0.8337 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.5707, allocations: 1.767 MB / 0.8354 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.5723, allocations: 1.775 MB / 0.8371 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004076/0.5728, allocations: 467.2 kB / 0.8376 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.5742, allocations: 1.074 MB / 0.8386 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006536/0.5749, allocations: 0.9854 MB / 0.8396 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.5765, allocations: 1.879 MB / 0.8414 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004433/0.5809, allocations: 5.527 MB / 0.8468 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.581, allocations: 3.938 kB / 0.8468 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.581, allocations: 0 / 0.8468 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.416e-05/0.581, allocations: 0 / 0.8468 GB, free: 4.621 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.006144/0.5872, allocations: 3.863 MB / 0.8506 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.5872, allocations: 13.11 kB / 0.8506 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008321/0.5955, allocations: 1.287 MB / 0.8519 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.5984, allocations: 2.124 MB / 0.8539 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.5985, allocations: 233.9 kB / 0.8542 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004082/0.5989, allocations: 288 kB / 0.8544 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007752/0.6067, allocations: 4.458 MB / 0.8588 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/0.6068, allocations: 0 / 0.8588 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/0.6071, allocations: 124 kB / 0.8589 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.6071, allocations: 76 kB / 0.859 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.6178, allocations: 4.885 MB / 0.8637 GB, free: 3.777 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.01869/0.6365, allocations: 14.01 MB / 0.8774 GB, free: 5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0096/0.6462, allocations: 4.038 MB / 0.8814 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/0.6496, allocations: 1.662 MB / 0.883 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.6506, allocations: 1.073 MB / 0.884 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004072/0.6547, allocations: 2.035 MB / 0.886 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 3.557e-06/0.6547, allocations: 0 / 0.886 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01242/0.6672, allocations: 5.222 MB / 0.8911 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.6673, allocations: 209.9 kB / 0.8913 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.6698, allocations: 1.928 MB / 0.8932 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002446/0.6701, allocations: 61.7 kB / 0.8933 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009304/0.671, allocations: 1.172 MB / 0.8944 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006638/0.6717, allocations: 0.7201 MB / 0.8951 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008236/0.6725, allocations: 0.5189 MB / 0.8956 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.6726, allocations: 301.1 kB / 0.8959 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003556/0.6762, allocations: 1.573 MB / 0.8974 GB, free: 136 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003836/0.68, allocations: 1.883 MB / 0.8993 GB, free: 14.16 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007441/0.6875, allocations: 3.42 MB / 0.9026 GB, free: 10.66 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.6875, allocations: 4 kB / 0.9026 GB, free: 10.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009422/0.697, allocations: 3.946 MB / 0.9065 GB, free: 6.699 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.697, allocations: 8.469 kB / 0.9065 GB, free: 6.691 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.697, allocations: 8 kB / 0.9065 GB, free: 6.684 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.6976, allocations: 92.77 kB / 0.9066 GB, free: 6.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/0.7009, allocations: 0.698 MB / 0.9073 GB, free: 5.891 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.7029, allocations: 1.701 MB / 0.9089 GB, free: 4.043 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/0.706, allocations: 429.6 kB / 0.9093 GB, free: 3.621 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003028/0.7063, allocations: 131.8 kB / 0.9095 GB, free: 3.492 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.001682/0.708, allocations: 0.929 MB / 0.9104 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005726/0.7085, allocations: 229.3 kB / 0.9106 GB, free: 2.324 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00934/0.7179, allocations: 4.186 MB / 0.9147 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.7179, allocations: 24 kB / 0.9147 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7179, allocations: 0 / 0.9147 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.718, allocations: 11.95 kB / 0.9147 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.7308, allocations: 7.847 MB / 0.9224 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.7308, allocations: 0 / 0.9224 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003018/0.7338, allocations: 0.5812 MB / 0.9229 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/0.7343, allocations: 76.8 kB / 0.923 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.7345, allocations: 63.94 kB / 0.9231 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.7363, allocations: 1.724 MB / 0.9248 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7363, allocations: 0 / 0.9248 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007546/0.7439, allocations: 3.464 MB / 0.9281 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.7453, allocations: 0.7358 MB / 0.9289 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004534/0.7458, allocations: 59.69 kB / 0.9289 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/0.748, allocations: 275.6 kB / 0.9292 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.7483, allocations: 149.7 kB / 0.9293 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/0.7485, allocations: 79.95 kB / 0.9294 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002019/0.7506, allocations: 1.486 MB / 0.9309 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7506, allocations: 0 / 0.9309 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002129/0.7527, allocations: 0.8682 MB / 0.9317 GB, free: 12.3 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.001444/0.7542, allocations: 0.6926 MB / 0.9324 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00766/0.7618, allocations: 3.6 MB / 0.9359 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7618, allocations: 0 / 0.9359 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003525/0.7654, allocations: 1.786 MB / 0.9376 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.7673, allocations: 444.9 kB / 0.9381 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.7782, allocations: 6.262 MB / 0.9442 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.7799, allocations: 2.226 MB / 0.9464 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/0.7813, allocations: 323.2 kB / 0.9467 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of SimCode: time 2.024e-06/0.7813, allocations: 0 / 0.9467 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of Templates: time 0.06768/0.849, allocations: 59.63 MB / 1.005 GB, free: 1.445 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