Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001785/0.001785, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.328/1.328, 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.7868/0.7868, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 62.53 kB / 0.5822 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1481, allocations: 80.22 MB / 0.6605 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009185/0.1573, allocations: 7.101 MB / 0.6675 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.511/0.6684, allocations: 155.5 MB / 0.8193 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.6698, allocations: 33.81 kB / 0.8194 GB, free: 8.844 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.001083/0.671, allocations: 288.4 kB / 0.8196 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002649/0.6736, allocations: 0.714 MB / 0.8203 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.6767, allocations: 1.206 MB / 0.8215 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004457/0.6812, allocations: 4.064 MB / 0.8255 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003477/0.6847, allocations: 2.474 MB / 0.8279 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003398/0.6881, allocations: 1.657 MB / 0.8295 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.6909, allocations: 1.739 MB / 0.8312 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.692, allocations: 342 kB / 0.8315 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.6947, allocations: 0.95 MB / 0.8325 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.6961, allocations: 0.8901 MB / 0.8333 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002899/0.699, allocations: 1.729 MB / 0.835 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005215/0.7042, allocations: 4.661 MB / 0.8396 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.7043, allocations: 0 / 0.8396 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7043, allocations: 0 / 0.8396 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.666e-05/0.7043, allocations: 2.25 kB / 0.8396 GB, free: 12.1 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.007863/0.7122, allocations: 3.905 MB / 0.8434 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7123, allocations: 9.75 kB / 0.8434 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008719/0.721, allocations: 1.308 MB / 0.8447 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00385/0.7249, allocations: 1.94 MB / 0.8466 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.7251, allocations: 230.1 kB / 0.8468 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004264/0.7255, allocations: 292 kB / 0.8471 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008568/0.7341, allocations: 4.204 MB / 0.8512 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/0.7341, allocations: 7.938 kB / 0.8512 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/0.7344, allocations: 131.9 kB / 0.8513 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/0.7345, allocations: 72 kB / 0.8514 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.7451, allocations: 4.596 MB / 0.8559 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02274/0.7679, allocations: 12.77 MB / 0.8683 GB, free: 4 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.7783, allocations: 3.782 MB / 0.872 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003697/0.782, allocations: 1.561 MB / 0.8736 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/0.7833, allocations: 1.077 MB / 0.8746 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004543/0.7879, allocations: 1.936 MB / 0.8765 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=223): time 6.643e-06/0.7879, allocations: 3.938 kB / 0.8765 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of matching and sorting (n=223): time 0.01343/0.8013, allocations: 4.909 MB / 0.8813 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.8015, allocations: 257.3 kB / 0.8815 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/0.8047, allocations: 1.947 MB / 0.8834 GB, free: 144 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002772/0.805, allocations: 73.69 kB / 0.8835 GB, free: 64 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.8061, allocations: 1.228 MB / 0.8847 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007832/0.8069, allocations: 0.747 MB / 0.8854 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.808, allocations: 0.5269 MB / 0.886 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8081, allocations: 305.1 kB / 0.8862 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003594/0.8117, allocations: 1.445 MB / 0.8877 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003905/0.8156, allocations: 1.76 MB / 0.8894 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007621/0.8233, allocations: 3.186 MB / 0.8925 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.8233, allocations: 0 / 0.8925 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009943/0.8333, allocations: 3.754 MB / 0.8962 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.8333, allocations: 8 kB / 0.8962 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.8333, allocations: 8 kB / 0.8962 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.8339, allocations: 92.8 kB / 0.8963 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/0.8376, allocations: 0.7176 MB / 0.897 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.8399, allocations: 1.642 MB / 0.8986 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/0.8436, allocations: 443.3 kB / 0.899 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005723/0.8442, allocations: 131.8 kB / 0.8991 GB, free: 15.71 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 14 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.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 (282): * Single equations (assignments): 281 * 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.002085/0.8462, allocations: 0.7994 MB / 0.8999 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008248/0.8471, allocations: 237.1 kB / 0.9001 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.8576, allocations: 4.016 MB / 0.904 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/0.8577, allocations: 27.98 kB / 0.9041 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.8577, allocations: 0 / 0.9041 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.022e-05/0.8577, allocations: 15.95 kB / 0.9041 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.8729, allocations: 7.174 MB / 0.9111 GB, free: 3.238 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.873, allocations: 0 / 0.9111 GB, free: 3.238 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003013/0.876, allocations: 0.5968 MB / 0.9117 GB, free: 2.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000483/0.8765, allocations: 84.72 kB / 0.9118 GB, free: 2.555 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/0.8768, allocations: 67.94 kB / 0.9118 GB, free: 2.488 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.8787, allocations: 1.662 MB / 0.9134 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8787, allocations: 0 / 0.9134 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0083/0.887, allocations: 3.329 MB / 0.9167 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/0.8885, allocations: 0.677 MB / 0.9174 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005611/0.889, allocations: 63.69 kB / 0.9174 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/0.8916, allocations: 283.6 kB / 0.9177 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.8919, allocations: 153.8 kB / 0.9178 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/0.8922, allocations: 87.94 kB / 0.9179 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002461/0.8946, allocations: 1.462 MB / 0.9193 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8946, allocations: 0 / 0.9193 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002689/0.8973, allocations: 0.8917 MB / 0.9202 GB, free: 9.676 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 248 * 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.001795/0.8991, allocations: 0.6925 MB / 0.9209 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008366/0.9075, allocations: 3.378 MB / 0.9242 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.9075, allocations: 0 / 0.9242 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003725/0.9113, allocations: 1.72 MB / 0.9259 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.9138, allocations: 457.1 kB / 0.9263 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.927, allocations: 6.31 MB / 0.9325 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/0.929, allocations: 2.202 MB / 0.9346 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/0.9308, allocations: 335.2 kB / 0.9349 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of SimCode: time 5.71e-07/0.9308, allocations: 4 kB / 0.9349 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of Templates: time 0.076/1.007, allocations: 56.4 MB / 0.99 GB, free: 2.312 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile make -j1 -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.o OMCppIDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsFunctions.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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.o] Error 1