Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008998/0.0008998, allocations: 91.92 kB / 16.02 MB, free: 80 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.001023/0.001023, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.44/1.44, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9312/0.9312, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 13.53 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1797, allocations: 82.31 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4476/0.6274, allocations: 162.5 MB / 0.7473 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02175/0.6492, allocations: 16.92 MB / 0.7638 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.6508, allocations: 28.22 kB / 0.7638 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.6525, allocations: 454.7 kB / 0.7642 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004824/0.6573, allocations: 1.466 MB / 0.7657 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.6608, allocations: 1.232 MB / 0.7669 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003481/0.6643, allocations: 2.798 MB / 0.7696 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.667, allocations: 1.682 MB / 0.7713 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005118/0.6721, allocations: 1.034 MB / 0.7723 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.6736, allocations: 0.8278 MB / 0.7731 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.674, allocations: 51.94 kB / 0.7731 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.6774, allocations: 1.501 MB / 0.7746 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006302/0.678, allocations: 0.576 MB / 0.7752 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.6791, allocations: 0.9177 MB / 0.776 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003055/0.6821, allocations: 2.474 MB / 0.7785 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.6821, allocations: 4 kB / 0.7785 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6821, allocations: 3.938 kB / 0.7785 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.501e-05/0.6822, allocations: 0 / 0.7785 GB, free: 9.945 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003599/0.6858, allocations: 2.193 MB / 0.7806 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.6858, allocations: 8.031 kB / 0.7806 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003639/0.6895, allocations: 0.563 MB / 0.7812 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.6918, allocations: 1.56 MB / 0.7827 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.6919, allocations: 123.3 kB / 0.7828 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.6921, allocations: 164 kB / 0.783 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/0.6954, allocations: 1.904 MB / 0.7848 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.6954, allocations: 0 / 0.7848 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.6956, allocations: 75.98 kB / 0.7849 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.6956, allocations: 36 kB / 0.7849 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/0.6991, allocations: 2.085 MB / 0.787 GB, free: 1.07 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.009205/0.7084, allocations: 5.753 MB / 0.7926 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/0.7115, allocations: 2.052 MB / 0.7946 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.7128, allocations: 0.7498 MB / 0.7953 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.7135, allocations: 433.7 kB / 0.7957 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/0.7152, allocations: 0.9543 MB / 0.7967 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.975e-06/0.7152, allocations: 0 / 0.7967 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006633/0.7218, allocations: 2.883 MB / 0.7995 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002009/0.7221, allocations: 209.2 kB / 0.7997 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/0.7248, allocations: 1.763 MB / 0.8014 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002472/0.7251, allocations: 57.7 kB / 0.8015 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007228/0.7258, allocations: 0.8074 MB / 0.8022 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004841/0.7263, allocations: 465.2 kB / 0.8027 GB, free: 360 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.7265, allocations: 97.66 kB / 0.8028 GB, free: 256 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.7267, allocations: 357.9 kB / 0.8031 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.7278, allocations: 0.5804 MB / 0.8037 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.7292, allocations: 0.7857 MB / 0.8045 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002449/0.7316, allocations: 1.325 MB / 0.8058 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.7317, allocations: 0 / 0.8058 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004049/0.7357, allocations: 1.776 MB / 0.8075 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.7358, allocations: 12.06 kB / 0.8075 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.7358, allocations: 3.938 kB / 0.8075 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.7368, allocations: 204.1 kB / 0.8077 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.7384, allocations: 331.5 kB / 0.808 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/0.744, allocations: 6.808 MB / 0.8147 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.7456, allocations: 181.8 kB / 0.8148 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.7457, allocations: 55.95 kB / 0.8149 GB, free: 3.082 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (141): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009931/0.7467, allocations: 473.4 kB / 0.8153 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.7471, allocations: 169.9 kB / 0.8155 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/0.7515, allocations: 2.066 MB / 0.8175 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.7515, allocations: 16 kB / 0.8175 GB, free: 336 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.7515, allocations: 11.98 kB / 0.8175 GB, free: 324 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.7515, allocations: 3.984 kB / 0.8176 GB, free: 320 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006761/0.7583, allocations: 3.849 MB / 0.8213 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.7583, allocations: 0 / 0.8213 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.7598, allocations: 319.5 kB / 0.8216 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.7609, allocations: 208.1 kB / 0.8218 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.761, allocations: 39.97 kB / 0.8219 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006358/0.7674, allocations: 6.851 MB / 0.8285 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7674, allocations: 0 / 0.8285 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004273/0.7717, allocations: 1.932 MB / 0.8304 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.7728, allocations: 466.4 kB / 0.8309 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.773, allocations: 31.98 kB / 0.8309 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.7743, allocations: 145.1 kB / 0.831 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.7746, allocations: 101.2 kB / 0.8311 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.7747, allocations: 67.94 kB / 0.8312 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001786/0.7765, allocations: 1.257 MB / 0.8324 GB, free: 264 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7765, allocations: 4 kB / 0.8324 GB, free: 260 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0018/0.7783, allocations: 0.6352 MB / 0.8331 GB, free: 15.62 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,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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001745/0.7801, allocations: 0.7533 MB / 0.8338 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00378/0.7839, allocations: 2.044 MB / 0.8358 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7839, allocations: 0.7969 kB / 0.8358 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/0.786, allocations: 1.399 MB / 0.8372 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.7887, allocations: 497.3 kB / 0.8376 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008152/0.7968, allocations: 4.655 MB / 0.8422 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.798, allocations: 1.462 MB / 0.8436 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006822/0.7987, allocations: 183.3 kB / 0.8438 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.7987, allocations: 0 / 0.8438 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of Templates: time 0.3269/1.126, allocations: 64.2 MB / 0.9065 GB, free: 201 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsFunctions.cpp:8: /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.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.o] Error 1