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.001315/0.001315, allocations: 107 kB / 16.38 MB, free: 6.434 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.001284/0.001284, allocations: 190.2 kB / 17.32 MB, free: 5.762 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8215/0.8215, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 58.92 kB / 0.5819 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1477, allocations: 80.22 MB / 0.6602 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.008472/0.1562, allocations: 6.946 MB / 0.667 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5123/0.6685, allocations: 155.7 MB / 0.8191 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.6697, allocations: 29.16 kB / 0.8191 GB, free: 9.273 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.0008099/0.6705, allocations: 284.8 kB / 0.8194 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.6725, allocations: 0.7177 MB / 0.8201 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.6752, allocations: 1.285 MB / 0.8214 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004056/0.6793, allocations: 4.564 MB / 0.8258 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002981/0.6823, allocations: 2.681 MB / 0.8284 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/0.685, allocations: 1.758 MB / 0.8302 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.687, allocations: 1.783 MB / 0.8319 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005136/0.6875, allocations: 467.5 kB / 0.8323 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.6894, allocations: 1.063 MB / 0.8334 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000812/0.6902, allocations: 0.9928 MB / 0.8343 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.6923, allocations: 1.886 MB / 0.8362 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005525/0.6978, allocations: 5.558 MB / 0.8416 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6978, allocations: 6.375 kB / 0.8416 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6978, allocations: 0 / 0.8416 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.044e-05/0.6979, allocations: 0 / 0.8416 GB, free: 10.44 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.007464/0.7054, allocations: 3.89 MB / 0.8454 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.7054, allocations: 9.375 kB / 0.8454 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008917/0.7144, allocations: 1.29 MB / 0.8467 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003319/0.7177, allocations: 2.175 MB / 0.8488 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.7179, allocations: 226 kB / 0.849 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004424/0.7184, allocations: 288 kB / 0.8493 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008321/0.7267, allocations: 4.464 MB / 0.8537 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.048e-05/0.7267, allocations: 0 / 0.8537 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003505/0.7271, allocations: 128 kB / 0.8538 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/0.7272, allocations: 72 kB / 0.8539 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.7376, allocations: 4.913 MB / 0.8587 GB, free: 10.63 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.01985/0.7575, allocations: 14.01 MB / 0.8723 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.7679, allocations: 4.044 MB / 0.8763 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/0.7716, allocations: 1.669 MB / 0.8779 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.7727, allocations: 1.073 MB / 0.879 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004252/0.777, allocations: 2.039 MB / 0.881 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 3.227e-06/0.777, allocations: 4 kB / 0.881 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01314/0.7901, allocations: 5.222 MB / 0.8861 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/0.7902, allocations: 213.9 kB / 0.8863 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/0.793, allocations: 1.973 MB / 0.8882 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.7932, allocations: 61.7 kB / 0.8883 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009735/0.7942, allocations: 1.184 MB / 0.8894 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006609/0.7948, allocations: 0.7163 MB / 0.8901 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008841/0.7957, allocations: 0.5189 MB / 0.8906 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.7958, allocations: 305.1 kB / 0.8909 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/0.7994, allocations: 1.577 MB / 0.8924 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003906/0.8033, allocations: 1.871 MB / 0.8943 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007677/0.811, allocations: 3.426 MB / 0.8976 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.8111, allocations: 4 kB / 0.8976 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009628/0.8207, allocations: 3.954 MB / 0.9015 GB, free: 13.47 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.8208, allocations: 7.938 kB / 0.9015 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.8208, allocations: 11.98 kB / 0.9015 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/0.8214, allocations: 89.25 kB / 0.9016 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.8249, allocations: 0.7058 MB / 0.9023 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.8271, allocations: 1.698 MB / 0.9039 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/0.8303, allocations: 429.5 kB / 0.9043 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.8306, allocations: 131.8 kB / 0.9045 GB, free: 10.27 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.001726/0.8323, allocations: 0.9369 MB / 0.9054 GB, free: 9.32 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005706/0.8329, allocations: 217.3 kB / 0.9056 GB, free: 9.105 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009936/0.8428, allocations: 4.21 MB / 0.9097 GB, free: 4.875 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.8429, allocations: 20 kB / 0.9097 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8429, allocations: 4 kB / 0.9097 GB, free: 4.852 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.8429, allocations: 11.95 kB / 0.9097 GB, free: 4.84 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.8565, allocations: 7.844 MB / 0.9174 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.8566, allocations: 0 / 0.9174 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00306/0.8596, allocations: 0.5772 MB / 0.918 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.8601, allocations: 80.78 kB / 0.918 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/0.8603, allocations: 71.92 kB / 0.9181 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.8623, allocations: 1.724 MB / 0.9198 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.8623, allocations: 3.938 kB / 0.9198 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007857/0.8702, allocations: 3.461 MB / 0.9232 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.8715, allocations: 0.7397 MB / 0.9239 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/0.8719, allocations: 63.69 kB / 0.924 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002395/0.8743, allocations: 269.5 kB / 0.9242 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.8746, allocations: 153.7 kB / 0.9244 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/0.8748, allocations: 83.94 kB / 0.9244 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002161/0.8769, allocations: 1.515 MB / 0.9259 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.442e-06/0.8769, allocations: 0 / 0.9259 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002203/0.8792, allocations: 0.8721 MB / 0.9268 GB, free: 3.004 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.001552/0.8807, allocations: 0.6875 MB / 0.9274 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008157/0.8889, allocations: 3.589 MB / 0.9309 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.8889, allocations: 0 / 0.9309 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003843/0.8927, allocations: 1.79 MB / 0.9327 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.8948, allocations: 442.9 kB / 0.9331 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.907, allocations: 6.323 MB / 0.9393 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/0.909, allocations: 2.235 MB / 0.9415 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/0.911, allocations: 323.2 kB / 0.9418 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of SimCode: time 1.213e-06/0.911, allocations: 0 / 0.9418 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of Templates: time 0.0781/0.9891, allocations: 59.93 MB / 1 GB, free: 7.824 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