Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001186/0.001186, allocations: 105.4 kB / 16.41 MB, free: 6.473 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.001205/0.001205, allocations: 189.6 kB / 17.34 MB, free: 5.754 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.211/1.211, 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-master/package.mo): time 0.7389/0.7389, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 61.88 kB / 0.5865 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1299, allocations: 80.93 MB / 0.6655 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.007725/0.1377, allocations: 7.118 MB / 0.6724 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4428/0.5805, allocations: 155.5 MB / 0.8243 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009408/0.5815, allocations: 28.84 kB / 0.8243 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.5822, allocations: 284.2 kB / 0.8246 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.5839, allocations: 0.7071 MB / 0.8253 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.5862, allocations: 1.21 MB / 0.8265 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003073/0.5893, allocations: 4.058 MB / 0.8305 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002445/0.5917, allocations: 2.663 MB / 0.8331 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.5941, allocations: 1.657 MB / 0.8347 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.5956, allocations: 1.744 MB / 0.8364 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003479/0.5959, allocations: 344.3 kB / 0.8367 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.5974, allocations: 0.9409 MB / 0.8376 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006322/0.5981, allocations: 0.8856 MB / 0.8385 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.5995, allocations: 1.72 MB / 0.8402 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003914/0.6034, allocations: 4.64 MB / 0.8447 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6034, allocations: 4 kB / 0.8447 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6034, allocations: 0 / 0.8447 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.909e-05/0.6035, allocations: 4 kB / 0.8447 GB, free: 6.449 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.006095/0.6096, allocations: 3.87 MB / 0.8485 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.6096, allocations: 8.516 kB / 0.8485 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008614/0.6182, allocations: 1.296 MB / 0.8498 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/0.621, allocations: 1.899 MB / 0.8516 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.6211, allocations: 238 kB / 0.8518 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/0.6215, allocations: 288 kB / 0.8521 GB, free: 68 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007081/0.6286, allocations: 4.212 MB / 0.8562 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.6287, allocations: 0 / 0.8562 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/0.6289, allocations: 135.9 kB / 0.8564 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.629, allocations: 76 kB / 0.8564 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00879/0.6378, allocations: 4.573 MB / 0.8609 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.6552, allocations: 12.76 MB / 0.8734 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008574/0.6638, allocations: 3.76 MB / 0.877 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002998/0.6668, allocations: 1.564 MB / 0.8786 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.6678, allocations: 1.081 MB / 0.8796 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00359/0.6714, allocations: 1.936 MB / 0.8815 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=223): time 3.446e-06/0.6714, allocations: 4 kB / 0.8815 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=223): time 0.01107/0.6825, allocations: 4.901 MB / 0.8863 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.6827, allocations: 265.3 kB / 0.8865 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.685, allocations: 1.905 MB / 0.8884 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.6852, allocations: 65.7 kB / 0.8885 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008575/0.686, allocations: 1.212 MB / 0.8896 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005856/0.6866, allocations: 0.7509 MB / 0.8904 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007468/0.6874, allocations: 0.5385 MB / 0.8909 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.6875, allocations: 301.1 kB / 0.8912 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.6905, allocations: 1.448 MB / 0.8926 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/0.6939, allocations: 1.748 MB / 0.8943 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006381/0.7003, allocations: 3.195 MB / 0.8974 GB, free: 164 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.7003, allocations: 4 kB / 0.8974 GB, free: 160 kB / 0.6544 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.008253/0.7086, allocations: 3.727 MB / 0.9011 GB, free: 12.41 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.7086, allocations: 8 kB / 0.9011 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.7086, allocations: 8.469 kB / 0.9011 GB, free: 12.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/0.7092, allocations: 96.7 kB / 0.9012 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/0.7126, allocations: 0.7176 MB / 0.9019 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.7147, allocations: 1.638 MB / 0.9035 GB, free: 9.797 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003047/0.7177, allocations: 439.6 kB / 0.9039 GB, free: 9.367 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/0.718, allocations: 135.8 kB / 0.904 GB, free: 9.234 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.001483/0.7195, allocations: 0.7876 MB / 0.9048 GB, free: 8.438 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006667/0.7202, allocations: 229.2 kB / 0.905 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009142/0.7293, allocations: 4.019 MB / 0.9089 GB, free: 4.172 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.7294, allocations: 35.86 kB / 0.909 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.7294, allocations: 0 / 0.909 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.649e-05/0.7294, allocations: 15.95 kB / 0.909 GB, free: 4.121 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.7422, allocations: 7.177 MB / 0.916 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.7422, allocations: 0 / 0.916 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003013/0.7452, allocations: 0.5968 MB / 0.9166 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/0.7458, allocations: 76.78 kB / 0.9167 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003343/0.7461, allocations: 63.95 kB / 0.9167 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.7482, allocations: 1.662 MB / 0.9183 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7482, allocations: 3.938 kB / 0.9184 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/0.756, allocations: 3.325 MB / 0.9216 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.7574, allocations: 0.6732 MB / 0.9223 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005826/0.758, allocations: 63.69 kB / 0.9223 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/0.7604, allocations: 271.6 kB / 0.9226 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.7607, allocations: 161.7 kB / 0.9227 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/0.7609, allocations: 87.95 kB / 0.9228 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002208/0.7631, allocations: 1.442 MB / 0.9242 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.8e-07/0.7631, allocations: 0 / 0.9242 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002294/0.7654, allocations: 0.8878 MB / 0.9251 GB, free: 3.246 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.001541/0.767, allocations: 0.6842 MB / 0.9258 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007264/0.7743, allocations: 3.385 MB / 0.9291 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.7743, allocations: 3.938 kB / 0.9291 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003301/0.7776, allocations: 1.716 MB / 0.9307 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.7797, allocations: 446.8 kB / 0.9312 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.7917, allocations: 6.267 MB / 0.9373 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/0.7935, allocations: 2.185 MB / 0.9394 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/0.795, allocations: 335.1 kB / 0.9397 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of SimCode: time 2.214e-06/0.7951, allocations: 0 / 0.9397 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of Templates: time 0.06799/0.863, allocations: 56.61 MB / 0.995 GB, free: 11.72 MB / 0.7637 GB make -j1 -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile make -j1 -f IDEAS_dev_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-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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.o OMCppIDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsFunctions.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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.o] Error 1