Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 110.7 kB / 16.38 MB, free: 6.48 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.001051/0.001051, allocations: 192.8 kB / 17.32 MB, free: 5.801 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8543/0.8543, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63 kB / 0.5862 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1772, allocations: 80.93 MB / 0.6652 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.008989/0.1863, allocations: 6.959 MB / 0.672 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6182/0.8046, allocations: 155.7 MB / 0.8241 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.8063, allocations: 28.59 kB / 0.8241 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.8075, allocations: 288.2 kB / 0.8244 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.8104, allocations: 0.7088 MB / 0.8251 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.8137, allocations: 1.285 MB / 0.8263 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004529/0.8183, allocations: 4.558 MB / 0.8308 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.8213, allocations: 2.879 MB / 0.8336 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.8242, allocations: 1.737 MB / 0.8353 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.8259, allocations: 1.775 MB / 0.837 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004504/0.8264, allocations: 465 kB / 0.8375 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.8281, allocations: 1.067 MB / 0.8385 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000785/0.8289, allocations: 0.9966 MB / 0.8395 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.8308, allocations: 1.864 MB / 0.8413 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005232/0.836, allocations: 5.532 MB / 0.8467 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.836, allocations: 3.938 kB / 0.8467 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8361, allocations: 2.219 kB / 0.8467 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.427e-05/0.8361, allocations: 0 / 0.8467 GB, free: 4.629 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.007154/0.8433, allocations: 3.855 MB / 0.8505 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.8433, allocations: 13.11 kB / 0.8505 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008705/0.8521, allocations: 1.291 MB / 0.8518 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.8557, allocations: 2.128 MB / 0.8538 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.8559, allocations: 234 kB / 0.8541 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004755/0.8564, allocations: 288 kB / 0.8543 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008561/0.865, allocations: 4.456 MB / 0.8587 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/0.865, allocations: 7.938 kB / 0.8587 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/0.8653, allocations: 124 kB / 0.8588 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.989e-05/0.8654, allocations: 76 kB / 0.8589 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.8756, allocations: 4.882 MB / 0.8636 GB, free: 3.875 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.02016/0.8958, allocations: 14 MB / 0.8773 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009851/0.9057, allocations: 4.035 MB / 0.8813 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003499/0.9092, allocations: 1.662 MB / 0.8829 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.9104, allocations: 1.069 MB / 0.8839 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004022/0.9144, allocations: 2.046 MB / 0.8859 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 3.186e-06/0.9144, allocations: 0 / 0.8859 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01285/0.9273, allocations: 5.218 MB / 0.891 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.9274, allocations: 213.9 kB / 0.8912 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.9305, allocations: 1.924 MB / 0.8931 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004343/0.9309, allocations: 65.7 kB / 0.8932 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.932, allocations: 1.168 MB / 0.8943 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000739/0.9327, allocations: 0.7201 MB / 0.895 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008398/0.9336, allocations: 0.5188 MB / 0.8955 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.9337, allocations: 305.1 kB / 0.8958 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/0.9373, allocations: 1.577 MB / 0.8974 GB, free: 232 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/0.9412, allocations: 1.871 MB / 0.8992 GB, free: 14.26 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008015/0.9492, allocations: 3.419 MB / 0.9025 GB, free: 10.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.9492, allocations: 4 kB / 0.9025 GB, free: 10.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009827/0.9591, allocations: 3.943 MB / 0.9064 GB, free: 6.809 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.9591, allocations: 8 kB / 0.9064 GB, free: 6.801 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.9592, allocations: 12.39 kB / 0.9064 GB, free: 6.789 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006094/0.9598, allocations: 96.83 kB / 0.9065 GB, free: 6.691 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.9633, allocations: 0.702 MB / 0.9072 GB, free: 5.988 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.9656, allocations: 1.705 MB / 0.9088 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/0.9689, allocations: 429.6 kB / 0.9092 GB, free: 3.715 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003617/0.9693, allocations: 131.8 kB / 0.9094 GB, free: 3.586 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.002049/0.9713, allocations: 0.9212 MB / 0.9103 GB, free: 2.652 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008259/0.9722, allocations: 221.3 kB / 0.9105 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.9828, allocations: 4.194 MB / 0.9146 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.9828, allocations: 28 kB / 0.9146 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.9829, allocations: 0 / 0.9146 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/0.9829, allocations: 11.95 kB / 0.9146 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.998, allocations: 7.847 MB / 0.9223 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.9981, allocations: 0 / 0.9223 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/1.001, allocations: 0.5772 MB / 0.9228 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/1.001, allocations: 84.77 kB / 0.9229 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/1.002, allocations: 63.95 kB / 0.923 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/1.004, allocations: 1.713 MB / 0.9247 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.004, allocations: 0.7031 kB / 0.9247 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008111/1.012, allocations: 3.468 MB / 0.928 GB, free: 88 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.013, allocations: 0.7397 MB / 0.9288 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006243/1.014, allocations: 59.69 kB / 0.9288 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/1.016, allocations: 274 kB / 0.9291 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/1.017, allocations: 149.7 kB / 0.9292 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/1.017, allocations: 84.02 kB / 0.9293 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002844/1.02, allocations: 1.478 MB / 0.9308 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/1.02, allocations: 4 kB / 0.9308 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002773/1.023, allocations: 0.8721 MB / 0.9316 GB, free: 12.39 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.001713/1.024, allocations: 0.6868 MB / 0.9323 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008216/1.033, allocations: 3.596 MB / 0.9358 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/1.033, allocations: 0 / 0.9358 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003785/1.036, allocations: 1.783 MB / 0.9375 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/1.039, allocations: 444.6 kB / 0.938 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/1.052, allocations: 6.267 MB / 0.9441 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/1.055, allocations: 2.222 MB / 0.9462 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.056, allocations: 323.2 kB / 0.9466 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of SimCode: time 1.223e-06/1.056, allocations: 0 / 0.9466 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of Templates: time 0.07909/1.136, allocations: 59.33 MB / 1.004 GB, free: 1.855 MB / 0.7637 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.SimInfoManagerPerezCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezFunctions.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.SimInfoManagerPerezCalcHelperMain.o] Error 1