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.00125/0.00125, allocations: 106.4 kB / 16.41 MB, free: 6.469 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.001506/0.001506, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7597/0.7597, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.77 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1508, allocations: 80.91 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.521/0.6719, allocations: 167 MB / 0.8283 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.6908, allocations: 17.12 MB / 0.8451 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.692, allocations: 32.03 kB / 0.8451 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.6935, allocations: 0.5378 MB / 0.8456 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004417/0.6979, allocations: 1.674 MB / 0.8473 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.7012, allocations: 1.393 MB / 0.8486 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003204/0.7044, allocations: 2.565 MB / 0.8511 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.7069, allocations: 1.949 MB / 0.853 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003776/0.7107, allocations: 1.394 MB / 0.8544 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.712, allocations: 1.037 MB / 0.8554 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.7122, allocations: 208.8 kB / 0.8556 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.715, allocations: 1.548 MB / 0.8571 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006316/0.7157, allocations: 0.7632 MB / 0.8579 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.7167, allocations: 1.135 MB / 0.859 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004455/0.7212, allocations: 3.415 MB / 0.8623 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7212, allocations: 0 / 0.8623 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7212, allocations: 0 / 0.8623 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.544e-05/0.7213, allocations: 4 kB / 0.8623 GB, free: 5.492 MB / 0.6231 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.004225/0.7255, allocations: 2.639 MB / 0.8649 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.7256, allocations: 9.109 kB / 0.8649 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003601/0.7292, allocations: 0.5513 MB / 0.8654 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.7316, allocations: 1.603 MB / 0.867 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.413e-05/0.7317, allocations: 123.3 kB / 0.8671 GB, free: 464 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.7319, allocations: 163.9 kB / 0.8673 GB, free: 300 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003388/0.7353, allocations: 1.884 MB / 0.8691 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.7353, allocations: 8 kB / 0.8691 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.7355, allocations: 68 kB / 0.8692 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.7355, allocations: 40 kB / 0.8692 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/0.7389, allocations: 2.069 MB / 0.8712 GB, free: 12.17 MB / 0.6387 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.008609/0.7476, allocations: 5.666 MB / 0.8768 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/0.7507, allocations: 2.037 MB / 0.8788 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.7519, allocations: 0.7374 MB / 0.8795 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005691/0.7525, allocations: 429.7 kB / 0.8799 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001682/0.7542, allocations: 0.9465 MB / 0.8808 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 3.216e-06/0.7542, allocations: 0 / 0.8808 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006547/0.7608, allocations: 2.848 MB / 0.8836 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7609, allocations: 197.2 kB / 0.8838 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.7635, allocations: 1.763 MB / 0.8855 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.7637, allocations: 61.7 kB / 0.8856 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007188/0.7644, allocations: 0.8035 MB / 0.8863 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004232/0.7648, allocations: 465.2 kB / 0.8868 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000416/0.7653, allocations: 246.8 kB / 0.887 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7654, allocations: 349.9 kB / 0.8874 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.7666, allocations: 0.5764 MB / 0.8879 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.7679, allocations: 0.7818 MB / 0.8887 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.7703, allocations: 1.302 MB / 0.89 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7703, allocations: 0 / 0.89 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003958/0.7742, allocations: 1.756 MB / 0.8917 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.7743, allocations: 7.938 kB / 0.8917 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.7743, allocations: 0 / 0.8917 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.7753, allocations: 208.1 kB / 0.8919 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.7769, allocations: 323.6 kB / 0.8922 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006263/0.7831, allocations: 7.324 MB / 0.8993 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.7849, allocations: 157.8 kB / 0.8995 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.7852, allocations: 59.89 kB / 0.8995 GB, free: 13.73 MB / 0.67 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.001248/0.7864, allocations: 469.7 kB / 0.9 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/0.787, allocations: 173.8 kB / 0.9002 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004504/0.7915, allocations: 2.042 MB / 0.9022 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.7915, allocations: 16 kB / 0.9022 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.7915, allocations: 0 / 0.9022 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.7916, allocations: 7.969 kB / 0.9022 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00692/0.7985, allocations: 3.829 MB / 0.9059 GB, free: 7.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.7985, allocations: 0 / 0.9059 GB, free: 7.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.8, allocations: 315.5 kB / 0.9062 GB, free: 6.781 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008707/0.8008, allocations: 204.1 kB / 0.9064 GB, free: 6.566 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.801, allocations: 35.97 kB / 0.9064 GB, free: 6.531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005968/0.8069, allocations: 7.355 MB / 0.9136 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.807, allocations: 8 kB / 0.9136 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/0.8113, allocations: 1.906 MB / 0.9155 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009423/0.8123, allocations: 458.4 kB / 0.9159 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003865/0.8127, allocations: 24 kB / 0.916 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.8141, allocations: 101.7 kB / 0.9161 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.8144, allocations: 101.2 kB / 0.9162 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/0.8146, allocations: 75.88 kB / 0.9162 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00201/0.8166, allocations: 1.261 MB / 0.9175 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8166, allocations: 0 / 0.9175 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001985/0.8186, allocations: 0.6391 MB / 0.9181 GB, free: 9.852 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,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.002011/0.8207, allocations: 0.7475 MB / 0.9188 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003653/0.8243, allocations: 2.023 MB / 0.9208 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.8243, allocations: 0.7969 kB / 0.9208 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.8265, allocations: 1.383 MB / 0.9221 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/0.8292, allocations: 0.5204 MB / 0.9226 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008219/0.8374, allocations: 3.773 MB / 0.9263 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.8388, allocations: 1.474 MB / 0.9278 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007819/0.8396, allocations: 179.3 kB / 0.9279 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of SimCode: time 6.82e-07/0.8396, allocations: 0 / 0.9279 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of Templates: time 0.07238/0.912, allocations: 64.66 MB / 0.9911 GB, free: 15.16 MB / 0.7637 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++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.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