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.001049/0.001049, allocations: 104.3 kB / 16.4 MB, free: 5.977 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.001076/0.001076, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7261/0.7261, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.38 kB / 0.5862 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1245, allocations: 80.92 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007693/0.1322, allocations: 6.966 MB / 0.6721 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4331/0.5653, allocations: 155.7 MB / 0.8241 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.5665, allocations: 35.22 kB / 0.8242 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000943/0.5675, allocations: 291.3 kB / 0.8244 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002391/0.5699, allocations: 0.7191 MB / 0.8251 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.5727, allocations: 1.287 MB / 0.8264 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003919/0.5766, allocations: 4.57 MB / 0.8309 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.5794, allocations: 2.881 MB / 0.8337 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.5819, allocations: 1.766 MB / 0.8354 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.5836, allocations: 1.778 MB / 0.8371 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004345/0.5841, allocations: 465.3 kB / 0.8376 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.5856, allocations: 1.067 MB / 0.8386 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006495/0.5863, allocations: 0.9891 MB / 0.8396 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.5878, allocations: 1.876 MB / 0.8414 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004738/0.5926, allocations: 5.534 MB / 0.8468 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5926, allocations: 0 / 0.8468 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5926, allocations: 0 / 0.8468 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001162/0.5927, allocations: 0 / 0.8468 GB, free: 4.527 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.007126/0.5999, allocations: 3.864 MB / 0.8506 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.5999, allocations: 9.109 kB / 0.8506 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008595/0.6085, allocations: 1.291 MB / 0.8519 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/0.6121, allocations: 2.128 MB / 0.8539 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.6123, allocations: 226 kB / 0.8542 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004814/0.6128, allocations: 292 kB / 0.8544 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008282/0.6211, allocations: 4.458 MB / 0.8588 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.406e-05/0.6211, allocations: 0 / 0.8588 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/0.6214, allocations: 124 kB / 0.8589 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/0.6215, allocations: 72 kB / 0.859 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009755/0.6312, allocations: 4.885 MB / 0.8638 GB, free: 3.723 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.02012/0.6514, allocations: 14.01 MB / 0.8774 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009578/0.661, allocations: 4.039 MB / 0.8814 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00337/0.6644, allocations: 1.666 MB / 0.883 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.6654, allocations: 1.073 MB / 0.8841 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00394/0.6693, allocations: 2.031 MB / 0.886 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 3.376e-06/0.6694, allocations: 0 / 0.886 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01207/0.6814, allocations: 5.222 MB / 0.8911 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.6815, allocations: 205.9 kB / 0.8913 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.684, allocations: 1.932 MB / 0.8932 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.6842, allocations: 65.64 kB / 0.8933 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.6852, allocations: 1.176 MB / 0.8944 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005842/0.6858, allocations: 0.7162 MB / 0.8951 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008485/0.6867, allocations: 0.5228 MB / 0.8956 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.6868, allocations: 301.1 kB / 0.8959 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/0.6902, allocations: 1.573 MB / 0.8975 GB, free: 72 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003754/0.6939, allocations: 1.879 MB / 0.8993 GB, free: 14.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007169/0.7011, allocations: 3.419 MB / 0.9026 GB, free: 10.61 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.7011, allocations: 4 kB / 0.9026 GB, free: 10.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.008783/0.7099, allocations: 3.943 MB / 0.9065 GB, free: 6.648 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.71, allocations: 8 kB / 0.9065 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.71, allocations: 4.469 kB / 0.9065 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005568/0.7105, allocations: 104.7 kB / 0.9066 GB, free: 6.531 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/0.7137, allocations: 0.698 MB / 0.9073 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.7156, allocations: 1.701 MB / 0.9089 GB, free: 3.984 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/0.7185, allocations: 427.5 kB / 0.9094 GB, free: 3.566 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/0.7187, allocations: 127.8 kB / 0.9095 GB, free: 3.441 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.001548/0.7203, allocations: 0.9291 MB / 0.9104 GB, free: 2.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004605/0.7208, allocations: 221.2 kB / 0.9106 GB, free: 2.281 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009115/0.7299, allocations: 4.194 MB / 0.9147 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.7299, allocations: 24 kB / 0.9147 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7299, allocations: 0 / 0.9147 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.7299, allocations: 11.95 kB / 0.9147 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.7425, allocations: 7.839 MB / 0.9224 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.7425, allocations: 3.938 kB / 0.9224 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/0.7452, allocations: 0.5811 MB / 0.9229 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/0.7456, allocations: 84.78 kB / 0.923 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.7458, allocations: 63.94 kB / 0.9231 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.7476, allocations: 1.724 MB / 0.9248 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7476, allocations: 0 / 0.9248 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007394/0.755, allocations: 3.464 MB / 0.9282 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.7562, allocations: 0.7319 MB / 0.9289 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/0.7565, allocations: 63.69 kB / 0.9289 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/0.7587, allocations: 271.6 kB / 0.9292 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.759, allocations: 149.7 kB / 0.9293 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/0.7592, allocations: 83.95 kB / 0.9294 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001922/0.7611, allocations: 1.482 MB / 0.9309 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7611, allocations: 4 kB / 0.9309 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002146/0.7632, allocations: 0.8721 MB / 0.9317 GB, free: 12.23 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.001438/0.7647, allocations: 0.6888 MB / 0.9324 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007506/0.7722, allocations: 3.592 MB / 0.9359 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.7722, allocations: 4 kB / 0.9359 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003393/0.7756, allocations: 1.786 MB / 0.9376 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.7774, allocations: 441.5 kB / 0.9381 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.7887, allocations: 6.264 MB / 0.9442 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/0.7907, allocations: 2.226 MB / 0.9464 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/0.792, allocations: 323.2 kB / 0.9467 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of SimCode: time 4.3e-07/0.792, allocations: 0 / 0.9467 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.06876/0.8608, allocations: 59.63 MB / 1.005 GB, free: 1.395 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