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.001438/0.001439, allocations: 110.6 kB / 16.27 MB, free: 5.984 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.001531/0.001531, allocations: 189 kB / 17.19 MB, free: 5.609 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8231/0.8231, allocations: 135.1 MB / 426.2 MB, free: 4.188 MB / 334.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.91 kB / 0.506 GB, free: 8.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3379, allocations: 80.91 MB / 0.585 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.008071/0.3461, allocations: 6.943 MB / 0.5918 GB, free: 19.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1615/0.5076, allocations: 155.7 MB / 0.7439 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.5092, allocations: 27.88 kB / 0.7439 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.5103, allocations: 285.2 kB / 0.7442 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.5132, allocations: 0.7128 MB / 0.7449 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.5166, allocations: 1.276 MB / 0.7461 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004906/0.5215, allocations: 4.536 MB / 0.7505 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.314/0.8355, allocations: 2.874 MB / 0.7533 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/0.8385, allocations: 1.734 MB / 0.755 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.8405, allocations: 1.772 MB / 0.7568 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009023/0.8414, allocations: 467.6 kB / 0.7572 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.8436, allocations: 1.03 MB / 0.7582 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008422/0.8445, allocations: 0.9943 MB / 0.7592 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002244/0.8467, allocations: 1.875 MB / 0.761 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005942/0.8527, allocations: 5.386 MB / 0.7663 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8527, allocations: 0 / 0.7663 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8527, allocations: 0 / 0.7663 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001491/0.8529, allocations: 0.75 kB / 0.7663 GB, free: 1.473 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.00917/0.862, allocations: 3.869 MB / 0.7701 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.8621, allocations: 9.484 kB / 0.7701 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009643/0.8717, allocations: 1.282 MB / 0.7713 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/0.8756, allocations: 2.087 MB / 0.7734 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.8758, allocations: 235.1 kB / 0.7736 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004877/0.8763, allocations: 287.2 kB / 0.7739 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008712/0.885, allocations: 4.453 MB / 0.7782 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.8851, allocations: 0 / 0.7782 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.8854, allocations: 127.4 kB / 0.7783 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.631e-05/0.8855, allocations: 72.03 kB / 0.7784 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.8958, allocations: 4.89 MB / 0.7832 GB, free: 14.86 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.02318/0.919, allocations: 14.13 MB / 0.797 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.9298, allocations: 4.031 MB / 0.8009 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003799/0.9336, allocations: 1.672 MB / 0.8025 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.9349, allocations: 1.076 MB / 0.8036 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004586/0.9395, allocations: 2.044 MB / 0.8056 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=214): time 4.819e-06/0.9395, allocations: 0 / 0.8056 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of matching and sorting (n=214): time 0.01476/0.9543, allocations: 5.222 MB / 0.8107 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.9545, allocations: 210.8 kB / 0.8109 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004111/0.9586, allocations: 1.934 MB / 0.8128 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003424/0.959, allocations: 68.47 kB / 0.8128 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.9602, allocations: 1.156 MB / 0.814 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008963/0.9612, allocations: 0.7231 MB / 0.8147 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001289/0.9625, allocations: 0.52 MB / 0.8152 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.9626, allocations: 301.1 kB / 0.8155 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/0.9665, allocations: 1.575 MB / 0.817 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00436/0.9709, allocations: 1.884 MB / 0.8188 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008658/0.9796, allocations: 3.415 MB / 0.8222 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.9796, allocations: 0 / 0.8222 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01115/0.9908, allocations: 3.956 MB / 0.826 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.9908, allocations: 11.92 kB / 0.8261 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.9909, allocations: 8 kB / 0.8261 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006593/0.9915, allocations: 89 kB / 0.8261 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/0.9955, allocations: 0.6991 MB / 0.8268 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.9979, allocations: 1.689 MB / 0.8285 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/1.002, allocations: 433.5 kB / 0.8289 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006021/1.002, allocations: 139.8 kB / 0.829 GB, free: 4.75 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.002563/1.005, allocations: 0.9247 MB / 0.8299 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.006, allocations: 217.3 kB / 0.8301 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/1.018, allocations: 4.203 MB / 0.8342 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/1.018, allocations: 24 kB / 0.8343 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.018, allocations: 3.469 kB / 0.8343 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.529e-05/1.018, allocations: 11.95 kB / 0.8343 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/1.036, allocations: 7.888 MB / 0.842 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/1.036, allocations: 4 kB / 0.842 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/1.039, allocations: 0.5774 MB / 0.8425 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005248/1.039, allocations: 80.78 kB / 0.8426 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000291/1.04, allocations: 63.95 kB / 0.8427 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/1.042, allocations: 1.721 MB / 0.8444 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.042, allocations: 0 / 0.8444 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009339/1.051, allocations: 3.46 MB / 0.8477 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/1.053, allocations: 0.7436 MB / 0.8485 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/1.054, allocations: 67.62 kB / 0.8485 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003252/1.057, allocations: 263.6 kB / 0.8488 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004616/1.058, allocations: 153 kB / 0.8489 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003177/1.058, allocations: 83.94 kB / 0.849 GB, free: 36 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00312/1.061, allocations: 1.479 MB / 0.8505 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.51e-07/1.061, allocations: 0 / 0.8505 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003435/1.065, allocations: 0.8683 MB / 0.8513 GB, free: 13.66 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.001984/1.067, allocations: 0.6861 MB / 0.852 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01643/1.083, allocations: 5.93 MB / 0.8578 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.083, allocations: 4 kB / 0.8578 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004654/1.088, allocations: 1.79 MB / 0.8595 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/1.091, allocations: 444.6 kB / 0.8599 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/1.106, allocations: 6.355 MB / 0.8661 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/1.109, allocations: 2.223 MB / 0.8683 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00207/1.111, allocations: 315.2 kB / 0.8686 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/1.111, allocations: 7.938 kB / 0.8686 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.07946/1.19, allocations: 59.34 MB / 0.9266 GB, free: 0.9961 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