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.000759/0.000759, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 173 kB / 16.92 MB, free: 6.652 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9444/0.9444, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 8 kB / 0.5082 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1633, allocations: 82.31 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007969/0.1713, allocations: 6.485 MB / 0.5949 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.422/0.5934, allocations: 151.7 MB / 0.7431 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.595, allocations: 27.94 kB / 0.7431 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.596, allocations: 225.8 kB / 0.7433 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.5989, allocations: 0.593 MB / 0.7439 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003564/0.6024, allocations: 1.139 MB / 0.745 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007161/0.6096, allocations: 4.252 MB / 0.7492 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004168/0.6138, allocations: 2.758 MB / 0.7519 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.6171, allocations: 1.07 MB / 0.7529 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002185/0.6193, allocations: 1.2 MB / 0.7541 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006342/0.62, allocations: 78.3 kB / 0.7542 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.6226, allocations: 0.6551 MB / 0.7548 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.6232, allocations: 0.5128 MB / 0.7553 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002043/0.6253, allocations: 1.364 MB / 0.7566 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.6302, allocations: 4.15 MB / 0.7607 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6302, allocations: 0 / 0.7607 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.835e-06/0.6302, allocations: 4 kB / 0.7607 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001126/0.6303, allocations: 4 kB / 0.7607 GB, free: 12.01 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.006589/0.6369, allocations: 3.093 MB / 0.7637 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.637, allocations: 12.03 kB / 0.7637 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009538/0.6465, allocations: 1.354 MB / 0.765 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/0.6503, allocations: 2.089 MB / 0.7671 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.6505, allocations: 226 kB / 0.7673 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005589/0.651, allocations: 296 kB / 0.7676 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009344/0.6604, allocations: 4.464 MB / 0.7719 GB, free: 260 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/0.6605, allocations: 3.938 kB / 0.7719 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003189/0.6608, allocations: 124 kB / 0.7721 GB, free: 132 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-05/0.6609, allocations: 72 kB / 0.7721 GB, free: 60 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.6719, allocations: 4.924 MB / 0.7769 GB, free: 11.12 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.02217/0.6942, allocations: 14.17 MB / 0.7908 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.7051, allocations: 4.051 MB / 0.7947 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003986/0.7092, allocations: 1.67 MB / 0.7964 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.7104, allocations: 1.081 MB / 0.7974 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004714/0.7151, allocations: 2.035 MB / 0.7994 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=214): time 4.629e-06/0.7152, allocations: 0 / 0.7994 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=214): time 0.01406/0.7292, allocations: 5.253 MB / 0.8045 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.7294, allocations: 209.9 kB / 0.8047 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/0.7327, allocations: 1.939 MB / 0.8066 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002547/0.7329, allocations: 61.7 kB / 0.8067 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.734, allocations: 1.161 MB / 0.8078 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007471/0.7348, allocations: 0.7123 MB / 0.8085 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004019/0.7352, allocations: 182 kB / 0.8087 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.7353, allocations: 305.1 kB / 0.809 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003872/0.7392, allocations: 1.585 MB / 0.8105 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004063/0.7433, allocations: 1.875 MB / 0.8124 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007787/0.7511, allocations: 3.443 MB / 0.8157 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.7511, allocations: 4 kB / 0.8157 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009578/0.7607, allocations: 3.962 MB / 0.8196 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.7607, allocations: 8 kB / 0.8196 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.7607, allocations: 4 kB / 0.8196 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006072/0.7613, allocations: 101.1 kB / 0.8197 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003442/0.7648, allocations: 0.702 MB / 0.8204 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.7669, allocations: 1.58 MB / 0.8219 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/0.7702, allocations: 448.3 kB / 0.8224 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.7706, allocations: 131.8 kB / 0.8225 GB, free: 11.04 MB / 0.6387 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.001853/0.7724, allocations: 0.9289 MB / 0.8234 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005882/0.773, allocations: 217.3 kB / 0.8236 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/0.7836, allocations: 4.213 MB / 0.8277 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.7836, allocations: 24 kB / 0.8277 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.7837, allocations: 0 / 0.8277 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/0.7837, allocations: 23.89 kB / 0.8278 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/0.7987, allocations: 7.919 MB / 0.8355 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.7987, allocations: 0 / 0.8355 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/0.8017, allocations: 0.5734 MB / 0.8361 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005698/0.8023, allocations: 100.7 kB / 0.8362 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/0.8025, allocations: 63.95 kB / 0.8362 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.8045, allocations: 1.61 MB / 0.8378 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8045, allocations: 0 / 0.8378 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008297/0.8128, allocations: 3.469 MB / 0.8412 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/0.8144, allocations: 0.8135 MB / 0.842 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005077/0.8149, allocations: 40 kB / 0.842 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002618/0.8176, allocations: 291.6 kB / 0.8423 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/0.8179, allocations: 149.8 kB / 0.8424 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/0.8181, allocations: 79.94 kB / 0.8425 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002501/0.8206, allocations: 1.478 MB / 0.844 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.8206, allocations: 0 / 0.844 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002499/0.8231, allocations: 0.876 MB / 0.8448 GB, free: 3.777 MB / 0.6544 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.00165/0.8248, allocations: 0.688 MB / 0.8455 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008234/0.833, allocations: 3.585 MB / 0.849 GB, free: 15.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.8331, allocations: 0 / 0.849 GB, free: 15.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003843/0.8369, allocations: 1.794 MB / 0.8507 GB, free: 13.89 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.8393, allocations: 427.9 kB / 0.8511 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.853, allocations: 7.761 MB / 0.8587 GB, free: 5.684 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/0.855, allocations: 2.226 MB / 0.8609 GB, free: 3.426 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/0.8567, allocations: 323.2 kB / 0.8612 GB, free: 3.109 MB / 0.67 GB Notification: Performance of SimCode: time 1.001e-06/0.8567, allocations: 0 / 0.8612 GB, free: 3.109 MB / 0.67 GB Notification: Performance of Templates: time 0.3241/1.181, allocations: 58.95 MB / 0.9188 GB, free: 193.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.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.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