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.001478/0.001479, allocations: 104 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.001443/0.001443, allocations: 189.7 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.302/1.302, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7944/0.7944, allocations: 135.2 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 63.88 kB / 0.506 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3318, allocations: 80.91 MB / 0.585 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.006498/0.3383, allocations: 6.951 MB / 0.5918 GB, free: 19.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1673/0.5056, allocations: 155.7 MB / 0.7439 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.5069, allocations: 31.81 kB / 0.744 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.508, allocations: 289.1 kB / 0.7442 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.5105, allocations: 0.699 MB / 0.7449 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.5136, allocations: 1.288 MB / 0.7462 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005414/0.519, allocations: 4.539 MB / 0.7506 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2944/0.8135, allocations: 2.86 MB / 0.7534 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.8163, allocations: 1.727 MB / 0.7551 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.8185, allocations: 1.771 MB / 0.7568 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000889/0.8194, allocations: 466.6 kB / 0.7573 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.8217, allocations: 1.034 MB / 0.7583 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008347/0.8226, allocations: 0.9896 MB / 0.7592 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002154/0.8247, allocations: 1.875 MB / 0.7611 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006378/0.8311, allocations: 5.387 MB / 0.7663 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.8312, allocations: 4.5 kB / 0.7663 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8312, allocations: 0 / 0.7663 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000137/0.8313, allocations: 0 / 0.7663 GB, free: 1.539 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: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.009261/0.8406, allocations: 3.864 MB / 0.7701 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.8407, allocations: 10.36 kB / 0.7701 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008886/0.8495, allocations: 1.279 MB / 0.7714 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.8533, allocations: 2.1 MB / 0.7734 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.8535, allocations: 230.4 kB / 0.7736 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004349/0.8539, allocations: 291.6 kB / 0.7739 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007914/0.8618, allocations: 4.453 MB / 0.7783 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/0.8619, allocations: 0 / 0.7783 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/0.8622, allocations: 125 kB / 0.7784 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.8623, allocations: 71.22 kB / 0.7784 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009003/0.8713, allocations: 4.889 MB / 0.7832 GB, free: 14.92 MB / 0.5919 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.02016/0.8915, allocations: 14.13 MB / 0.797 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.9017, allocations: 4.036 MB / 0.801 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003639/0.9054, allocations: 1.669 MB / 0.8026 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.9066, allocations: 1.08 MB / 0.8036 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004065/0.9107, allocations: 2.034 MB / 0.8056 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=214): time 3.867e-06/0.9107, allocations: 0 / 0.8056 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=214): time 0.01282/0.9235, allocations: 5.217 MB / 0.8107 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.9237, allocations: 215.1 kB / 0.8109 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/0.9267, allocations: 1.932 MB / 0.8128 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002613/0.927, allocations: 71.97 kB / 0.8129 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.9281, allocations: 1.159 MB / 0.814 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007795/0.9289, allocations: 0.7176 MB / 0.8147 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008694/0.9298, allocations: 0.5176 MB / 0.8152 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9299, allocations: 301.1 kB / 0.8155 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003604/0.9336, allocations: 1.581 MB / 0.8171 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004184/0.9378, allocations: 1.874 MB / 0.8189 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008077/0.9459, allocations: 3.415 MB / 0.8222 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.9459, allocations: 0 / 0.8222 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01004/0.9559, allocations: 3.956 MB / 0.8261 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.956, allocations: 11.92 kB / 0.8261 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.956, allocations: 11.98 kB / 0.8261 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.9566, allocations: 93.03 kB / 0.8262 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003548/0.9602, allocations: 0.6988 MB / 0.8269 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.9625, allocations: 1.695 MB / 0.8285 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/0.9661, allocations: 439.5 kB / 0.8289 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003342/0.9664, allocations: 131.8 kB / 0.8291 GB, free: 4.645 MB / 0.6075 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.002043/0.9685, allocations: 0.9293 MB / 0.83 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006848/0.9692, allocations: 217.3 kB / 0.8302 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.9797, allocations: 4.202 MB / 0.8343 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.9798, allocations: 24 kB / 0.8343 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9798, allocations: 0 / 0.8343 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/0.9798, allocations: 15.95 kB / 0.8343 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.995, allocations: 7.884 MB / 0.842 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.9951, allocations: 4 kB / 0.842 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/0.998, allocations: 0.5711 MB / 0.8426 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004676/0.9985, allocations: 88.78 kB / 0.8427 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.9987, allocations: 63.95 kB / 0.8427 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/1.001, allocations: 1.716 MB / 0.8444 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.001, allocations: 7.125 kB / 0.8444 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008489/1.009, allocations: 3.461 MB / 0.8478 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.011, allocations: 0.7397 MB / 0.8485 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/1.011, allocations: 63.69 kB / 0.8486 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.014, allocations: 267.6 kB / 0.8488 GB, free: 160 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/1.014, allocations: 149.8 kB / 0.849 GB, free: 12 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/1.015, allocations: 80.61 kB / 0.8491 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00224/1.017, allocations: 1.482 MB / 0.8505 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/1.017, allocations: 0 / 0.8505 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002513/1.019, allocations: 0.8722 MB / 0.8514 GB, free: 13.55 MB / 0.6387 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.002048/1.021, allocations: 0.6809 MB / 0.852 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0148/1.036, allocations: 5.933 MB / 0.8578 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.036, allocations: 4 kB / 0.8578 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003842/1.04, allocations: 1.786 MB / 0.8596 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/1.042, allocations: 441.4 kB / 0.86 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/1.055, allocations: 6.358 MB / 0.8662 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.057, allocations: 2.223 MB / 0.8684 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/1.059, allocations: 322.5 kB / 0.8687 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of SimCode: time 1.242e-06/1.059, allocations: 0 / 0.8687 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.07733/1.136, allocations: 59.34 MB / 0.9266 GB, free: 0.8984 MB / 0.7012 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