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.0008207/0.0008208, allocations: 99.42 kB / 16.02 MB, free: 76 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.0009983/0.0009983, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.311/1.311, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9322/0.9322, allocations: 135.3 MB / 427.4 MB, free: 14.14 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 8 kB / 0.5082 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1679, allocations: 82.32 MB / 0.5886 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007751/0.1757, allocations: 6.485 MB / 0.5949 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4292/0.605, allocations: 151.7 MB / 0.7431 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.6066, allocations: 31.94 kB / 0.7431 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.6076, allocations: 221.3 kB / 0.7433 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.6104, allocations: 0.5882 MB / 0.7439 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.6137, allocations: 1.146 MB / 0.745 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005026/0.6187, allocations: 4.262 MB / 0.7492 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003323/0.6221, allocations: 2.746 MB / 0.7519 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.6249, allocations: 1.078 MB / 0.7529 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.6264, allocations: 1.189 MB / 0.7541 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.6266, allocations: 76.62 kB / 0.7542 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.6282, allocations: 0.6633 MB / 0.7548 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004438/0.6286, allocations: 0.509 MB / 0.7553 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.63, allocations: 1.36 MB / 0.7566 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004197/0.6342, allocations: 4.158 MB / 0.7607 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6343, allocations: 4 kB / 0.7607 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6343, allocations: 0 / 0.7607 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.681e-05/0.6344, allocations: 0 / 0.7607 GB, free: 11.91 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.006255/0.6406, allocations: 3.085 MB / 0.7637 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6407, allocations: 12.03 kB / 0.7637 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009564/0.6503, allocations: 1.354 MB / 0.765 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003704/0.654, allocations: 2.097 MB / 0.7671 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.6542, allocations: 238 kB / 0.7673 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005338/0.6547, allocations: 291.9 kB / 0.7676 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008838/0.6636, allocations: 4.468 MB / 0.772 GB, free: 140 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.393e-05/0.6636, allocations: 0 / 0.772 GB, free: 140 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.664, allocations: 128 kB / 0.7721 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/0.6641, allocations: 76.05 kB / 0.7721 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.675, allocations: 4.913 MB / 0.7769 GB, free: 11.01 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.02178/0.6968, allocations: 14.16 MB / 0.7908 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.707, allocations: 4.047 MB / 0.7947 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003662/0.7107, allocations: 1.67 MB / 0.7964 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.7119, allocations: 1.081 MB / 0.7974 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004286/0.7162, allocations: 2.047 MB / 0.7994 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=214): time 4.539e-06/0.7162, allocations: 0 / 0.7994 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=214): time 0.01314/0.7294, allocations: 5.253 MB / 0.8045 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.7295, allocations: 209.9 kB / 0.8047 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/0.7326, allocations: 1.935 MB / 0.8066 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002694/0.7329, allocations: 61.7 kB / 0.8067 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.734, allocations: 1.164 MB / 0.8078 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007645/0.7348, allocations: 0.7162 MB / 0.8085 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/0.7352, allocations: 178 kB / 0.8087 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.7353, allocations: 301.1 kB / 0.809 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003827/0.7391, allocations: 1.585 MB / 0.8105 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/0.7432, allocations: 1.886 MB / 0.8124 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007782/0.751, allocations: 3.433 MB / 0.8157 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.751, allocations: 7.938 kB / 0.8157 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01003/0.761, allocations: 3.969 MB / 0.8196 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.7611, allocations: 4 kB / 0.8196 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.7611, allocations: 8 kB / 0.8196 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.7618, allocations: 97.23 kB / 0.8197 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/0.7655, allocations: 0.702 MB / 0.8204 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.7677, allocations: 1.578 MB / 0.8219 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/0.7714, allocations: 448.3 kB / 0.8224 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005446/0.7719, allocations: 131.8 kB / 0.8225 GB, free: 10.94 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.002277/0.7742, allocations: 0.9248 MB / 0.8234 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007203/0.7749, allocations: 217.4 kB / 0.8236 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/0.786, allocations: 4.231 MB / 0.8277 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/0.7861, allocations: 28 kB / 0.8278 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.7861, allocations: 0 / 0.8278 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.922e-05/0.7861, allocations: 11.95 kB / 0.8278 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.8013, allocations: 7.911 MB / 0.8355 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.8014, allocations: 4 kB / 0.8355 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/0.8043, allocations: 0.5772 MB / 0.8361 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005627/0.8048, allocations: 92.77 kB / 0.8362 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002285/0.8051, allocations: 63.95 kB / 0.8362 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.807, allocations: 1.606 MB / 0.8378 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.807, allocations: 0 / 0.8378 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008121/0.8152, allocations: 3.473 MB / 0.8412 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/0.8168, allocations: 0.8095 MB / 0.842 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005432/0.8173, allocations: 48 kB / 0.842 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002652/0.82, allocations: 283.6 kB / 0.8423 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.8203, allocations: 145.9 kB / 0.8424 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/0.8205, allocations: 83.94 kB / 0.8425 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003001/0.8235, allocations: 1.474 MB / 0.8439 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8236, allocations: 0 / 0.8439 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003252/0.8268, allocations: 0.8838 MB / 0.8448 GB, free: 3.672 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.001764/0.8286, allocations: 0.6796 MB / 0.8455 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008434/0.837, allocations: 3.589 MB / 0.849 GB, free: 15.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.8371, allocations: 0 / 0.849 GB, free: 15.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003974/0.841, allocations: 1.806 MB / 0.8507 GB, free: 13.79 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/0.8439, allocations: 415.5 kB / 0.8511 GB, free: 13.39 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.8586, allocations: 7.757 MB / 0.8587 GB, free: 5.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.8605, allocations: 2.234 MB / 0.8609 GB, free: 3.324 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/0.8623, allocations: 315.2 kB / 0.8612 GB, free: 3.016 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/0.8623, allocations: 3.938 kB / 0.8612 GB, free: 3.012 MB / 0.67 GB Notification: Performance of Templates: time 0.3272/1.189, allocations: 58.96 MB / 0.9188 GB, free: 192.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.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