Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.Examples.SimInfoManager") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001316/0.001316, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00137/0.00137, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.857/0.857, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 61.83 kB / 0.582 GB, free: 23.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1593, allocations: 80.2 MB / 0.6603 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.009816/0.1692, allocations: 6.952 MB / 0.6671 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5825/0.7517, allocations: 155.7 MB / 0.8191 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.7533, allocations: 30.06 kB / 0.8192 GB, free: 9.316 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0009543/0.7542, allocations: 295.7 kB / 0.8195 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.7567, allocations: 0.7218 MB / 0.8202 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.7599, allocations: 1.291 MB / 0.8214 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004853/0.7647, allocations: 4.57 MB / 0.8259 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/0.7679, allocations: 2.692 MB / 0.8285 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.7712, allocations: 1.785 MB / 0.8303 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.7735, allocations: 1.785 MB / 0.832 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005904/0.7741, allocations: 471.9 kB / 0.8324 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.7762, allocations: 1.064 MB / 0.8335 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008354/0.7771, allocations: 0.989 MB / 0.8345 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002088/0.7792, allocations: 1.889 MB / 0.8363 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006411/0.7856, allocations: 5.56 MB / 0.8417 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.7856, allocations: 0 / 0.8417 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7857, allocations: 2.094 kB / 0.8417 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001455/0.7858, allocations: 0 / 0.8417 GB, free: 10.43 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.008818/0.7946, allocations: 3.898 MB / 0.8455 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.7947, allocations: 8.094 kB / 0.8455 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009123/0.8038, allocations: 1.291 MB / 0.8468 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004471/0.8083, allocations: 2.172 MB / 0.8489 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.8086, allocations: 226 kB / 0.8491 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007027/0.8093, allocations: 292 kB / 0.8494 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.82, allocations: 4.46 MB / 0.8538 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.616e-05/0.82, allocations: 3.938 kB / 0.8538 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003657/0.8204, allocations: 124 kB / 0.8539 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.8205, allocations: 76 kB / 0.854 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.8324, allocations: 4.905 MB / 0.8588 GB, free: 10.62 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.0233/0.8557, allocations: 14.02 MB / 0.8724 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.8661, allocations: 4.049 MB / 0.8764 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00387/0.87, allocations: 1.666 MB / 0.878 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.8712, allocations: 1.073 MB / 0.8791 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004493/0.8757, allocations: 2.035 MB / 0.8811 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 3.657e-06/0.8757, allocations: 0 / 0.8811 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01313/0.8889, allocations: 5.226 MB / 0.8862 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.889, allocations: 209.9 kB / 0.8864 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.8919, allocations: 1.977 MB / 0.8883 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003618/0.8923, allocations: 69.69 kB / 0.8884 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.8934, allocations: 1.184 MB / 0.8895 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007699/0.8941, allocations: 0.7163 MB / 0.8902 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008632/0.895, allocations: 0.515 MB / 0.8907 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.8951, allocations: 305.1 kB / 0.891 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003612/0.8987, allocations: 1.573 MB / 0.8926 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00391/0.9027, allocations: 1.875 MB / 0.8944 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007569/0.9102, allocations: 3.415 MB / 0.8977 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.9103, allocations: 4 kB / 0.8977 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009779/0.9201, allocations: 3.965 MB / 0.9016 GB, free: 13.45 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.9201, allocations: 8 kB / 0.9016 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.9202, allocations: 4 kB / 0.9016 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.9207, allocations: 100.9 kB / 0.9017 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/0.9243, allocations: 0.6902 MB / 0.9024 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.9264, allocations: 1.701 MB / 0.904 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003462/0.9298, allocations: 425.5 kB / 0.9044 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004211/0.9303, allocations: 131.8 kB / 0.9046 GB, free: 10.25 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.002205/0.9325, allocations: 0.9483 MB / 0.9055 GB, free: 9.297 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007027/0.9332, allocations: 221.3 kB / 0.9057 GB, free: 9.078 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009851/0.943, allocations: 4.187 MB / 0.9098 GB, free: 4.871 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.9431, allocations: 24 kB / 0.9098 GB, free: 4.848 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.9431, allocations: 3.938 kB / 0.9098 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.9431, allocations: 11.95 kB / 0.9098 GB, free: 4.832 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.9576, allocations: 7.863 MB / 0.9175 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.9577, allocations: 0 / 0.9175 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002918/0.9606, allocations: 0.585 MB / 0.9181 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.9611, allocations: 80.8 kB / 0.9182 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/0.9613, allocations: 63.94 kB / 0.9182 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.9632, allocations: 1.722 MB / 0.9199 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9632, allocations: 0 / 0.9199 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008119/0.9713, allocations: 3.461 MB / 0.9233 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/0.9729, allocations: 0.7397 MB / 0.924 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000492/0.9734, allocations: 67.69 kB / 0.9241 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/0.9757, allocations: 267.6 kB / 0.9243 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/0.9761, allocations: 153.7 kB / 0.9245 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/0.9763, allocations: 79.95 kB / 0.9245 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002278/0.9786, allocations: 1.511 MB / 0.926 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9786, allocations: 0 / 0.926 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002561/0.9811, allocations: 0.8722 MB / 0.9269 GB, free: 2.992 MB / 0.6856 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.001685/0.9828, allocations: 0.6909 MB / 0.9275 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008422/0.9913, allocations: 3.589 MB / 0.9311 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.9913, allocations: 0 / 0.9311 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00401/0.9953, allocations: 1.794 MB / 0.9328 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.9976, allocations: 448.3 kB / 0.9332 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/1.01, allocations: 6.315 MB / 0.9394 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/1.012, allocations: 2.246 MB / 0.9416 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001829/1.014, allocations: 315.2 kB / 0.9419 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/1.014, allocations: 0 / 0.9419 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of Templates: time 0.08134/1.095, allocations: 60.23 MB / 1.001 GB, free: 7.508 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.Examples.SimInfoManagerCalcHelperMain.o] Error 1