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.001226/0.00123, allocations: 105.8 kB / 15.99 MB, free: 6.348 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.001252/0.001252, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.314/1.314, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8011/0.8011, allocations: 135.2 MB / 425.9 MB, free: 4.281 MB / 334.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 67.88 kB / 0.5055 GB, free: 8.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3204, allocations: 80.91 MB / 0.5846 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.006443/0.3268, allocations: 6.907 MB / 0.5913 GB, free: 19.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1654/0.4923, allocations: 153.4 MB / 0.7411 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.4935, allocations: 31.81 kB / 0.7412 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007575/0.4943, allocations: 214.3 kB / 0.7414 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.4965, allocations: 0.6206 MB / 0.742 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.4995, allocations: 1.161 MB / 0.7431 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004811/0.5043, allocations: 4.586 MB / 0.7476 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003666/0.508, allocations: 2.864 MB / 0.7504 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2875/0.7955, allocations: 1.745 MB / 0.7521 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.7974, allocations: 1.784 MB / 0.7538 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004595/0.7979, allocations: 469 kB / 0.7543 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.7992, allocations: 1.04 MB / 0.7553 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005886/0.7998, allocations: 0.9911 MB / 0.7563 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.8015, allocations: 1.876 MB / 0.7581 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00419/0.8057, allocations: 4.316 MB / 0.7623 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.8057, allocations: 1.031 kB / 0.7623 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8057, allocations: 4.391 kB / 0.7623 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001027/0.8058, allocations: 0 / 0.7623 GB, free: 4.285 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.007131/0.813, allocations: 3.863 MB / 0.7661 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.813, allocations: 9.078 kB / 0.7661 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009055/0.8221, allocations: 1.281 MB / 0.7673 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/0.8258, allocations: 2.097 MB / 0.7694 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.826, allocations: 232.4 kB / 0.7696 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004559/0.8265, allocations: 287.1 kB / 0.7699 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007748/0.8342, allocations: 4.452 MB / 0.7742 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/0.8343, allocations: 1.812 kB / 0.7742 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003108/0.8346, allocations: 126.6 kB / 0.7744 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/0.8346, allocations: 74.62 kB / 0.7744 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008766/0.8434, allocations: 4.884 MB / 0.7792 GB, free: 1.672 MB / 0.5762 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.01897/0.8624, allocations: 14.13 MB / 0.793 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008946/0.8714, allocations: 4.035 MB / 0.7969 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003146/0.8745, allocations: 1.666 MB / 0.7986 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/0.8758, allocations: 1.08 MB / 0.7996 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003837/0.8796, allocations: 2.03 MB / 0.8016 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=214): time 3.417e-06/0.8796, allocations: 0 / 0.8016 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=214): time 0.01202/0.8917, allocations: 5.224 MB / 0.8067 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.8918, allocations: 209.6 kB / 0.8069 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.8943, allocations: 1.927 MB / 0.8088 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.8945, allocations: 65.03 kB / 0.8089 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.8956, allocations: 1.173 MB / 0.81 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000764/0.8964, allocations: 0.7197 MB / 0.8107 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009483/0.8973, allocations: 0.5165 MB / 0.8112 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8975, allocations: 303.1 kB / 0.8115 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003413/0.9009, allocations: 1.579 MB / 0.813 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003702/0.9046, allocations: 1.871 MB / 0.8149 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007343/0.912, allocations: 3.428 MB / 0.8182 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.912, allocations: 4 kB / 0.8182 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009732/0.9217, allocations: 3.95 MB / 0.8221 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.9218, allocations: 15.92 kB / 0.8221 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.9218, allocations: 4 kB / 0.8221 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.9224, allocations: 93.03 kB / 0.8222 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003524/0.9259, allocations: 0.6963 MB / 0.8229 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.9283, allocations: 1.69 MB / 0.8245 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00339/0.9317, allocations: 442.3 kB / 0.8249 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/0.932, allocations: 135.8 kB / 0.8251 GB, free: 10.91 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.001888/0.9339, allocations: 0.9309 MB / 0.826 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/0.9345, allocations: 217.4 kB / 0.8262 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.9447, allocations: 4.197 MB / 0.8303 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.9448, allocations: 24 kB / 0.8303 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9448, allocations: 0 / 0.8303 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/0.9448, allocations: 11.95 kB / 0.8303 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.9597, allocations: 7.889 MB / 0.838 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.9597, allocations: 0 / 0.838 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002972/0.9627, allocations: 0.5734 MB / 0.8386 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.9632, allocations: 84.72 kB / 0.8387 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/0.9634, allocations: 63.95 kB / 0.8387 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.9657, allocations: 1.72 MB / 0.8404 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.9657, allocations: 4.062 kB / 0.8404 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00849/0.9742, allocations: 3.461 MB / 0.8438 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/0.9757, allocations: 0.7474 MB / 0.8445 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004865/0.9762, allocations: 59.69 kB / 0.8446 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002453/0.9787, allocations: 270.5 kB / 0.8448 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/0.979, allocations: 149.8 kB / 0.845 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/0.9792, allocations: 83.94 kB / 0.845 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0023/0.9816, allocations: 1.482 MB / 0.8465 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9816, allocations: 0 / 0.8465 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002606/0.9842, allocations: 0.8683 MB / 0.8473 GB, free: 3.809 MB / 0.6231 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.002081/0.9863, allocations: 0.6763 MB / 0.848 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01546/1.002, allocations: 5.935 MB / 0.8538 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.002, allocations: 4 kB / 0.8538 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003997/1.006, allocations: 1.801 MB / 0.8556 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/1.008, allocations: 435.1 kB / 0.856 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/1.023, allocations: 7.716 MB / 0.8635 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/1.025, allocations: 2.226 MB / 0.8657 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002396/1.028, allocations: 319.2 kB / 0.866 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of SimCode: time 2.264e-06/1.028, allocations: 0 / 0.866 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of Templates: time 0.08218/1.11, allocations: 59.34 MB / 0.9239 GB, free: 5.828 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++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