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.001322/0.001322, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001194/0.001194, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.298/1.298, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8197/0.8197, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 75.88 kB / 0.506 GB, free: 8.363 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3742, allocations: 80.91 MB / 0.5851 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1943/0.5685, allocations: 167 MB / 0.7481 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3393/0.9079, allocations: 17.11 MB / 0.7648 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.9091, allocations: 31.78 kB / 0.7648 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.9106, allocations: 0.5269 MB / 0.7654 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00427/0.9149, allocations: 1.649 MB / 0.767 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.9183, allocations: 1.377 MB / 0.7683 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003404/0.9217, allocations: 2.533 MB / 0.7708 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.924, allocations: 1.955 MB / 0.7727 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003715/0.9278, allocations: 1.354 MB / 0.774 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.9292, allocations: 1.034 MB / 0.775 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000416/0.9296, allocations: 209.7 kB / 0.7752 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.9326, allocations: 1.512 MB / 0.7767 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005604/0.9332, allocations: 0.7662 MB / 0.7774 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.9343, allocations: 1.131 MB / 0.7786 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.9379, allocations: 3.344 MB / 0.7818 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.9379, allocations: 0 / 0.7818 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9379, allocations: 0.9062 kB / 0.7818 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.051e-05/0.938, allocations: 0 / 0.7818 GB, free: 0.5703 MB / 0.5762 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.003936/0.9419, allocations: 2.642 MB / 0.7844 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.942, allocations: 9.703 kB / 0.7844 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.9454, allocations: 0.5484 MB / 0.7849 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.9474, allocations: 1.558 MB / 0.7865 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/0.9475, allocations: 128.2 kB / 0.7866 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.9477, allocations: 168.9 kB / 0.7867 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/0.9505, allocations: 1.894 MB / 0.7886 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.9505, allocations: 0.7812 kB / 0.7886 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.9506, allocations: 71.94 kB / 0.7887 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.9507, allocations: 41.03 kB / 0.7887 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/0.9535, allocations: 2.069 MB / 0.7907 GB, free: 14.49 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.007972/0.9615, allocations: 5.72 MB / 0.7963 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.9644, allocations: 2.033 MB / 0.7983 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.9654, allocations: 0.7445 MB / 0.799 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.966, allocations: 425.3 kB / 0.7994 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.9674, allocations: 0.9511 MB / 0.8004 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 2.906e-06/0.9675, allocations: 0 / 0.8004 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.00605/0.9735, allocations: 2.848 MB / 0.8031 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.9737, allocations: 198.2 kB / 0.8033 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.9758, allocations: 1.763 MB / 0.8051 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.976, allocations: 55.48 kB / 0.8051 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/0.9766, allocations: 0.815 MB / 0.8059 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/0.977, allocations: 460.1 kB / 0.8063 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.9774, allocations: 249.3 kB / 0.8066 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9775, allocations: 348.9 kB / 0.8069 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009405/0.9785, allocations: 0.5726 MB / 0.8075 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.9796, allocations: 0.7758 MB / 0.8082 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.9818, allocations: 1.298 MB / 0.8095 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.9818, allocations: 3.281 kB / 0.8095 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003761/0.9856, allocations: 1.763 MB / 0.8112 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.9856, allocations: 6.516 kB / 0.8112 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.9856, allocations: 2.688 kB / 0.8112 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009855/0.9866, allocations: 213.3 kB / 0.8114 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.9881, allocations: 328.4 kB / 0.8117 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006593/0.9947, allocations: 7.325 MB / 0.8189 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.9963, allocations: 157.6 kB / 0.8191 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.9965, allocations: 49 kB / 0.8191 GB, free: 1.262 MB / 0.5919 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.0009821/0.9974, allocations: 478 kB / 0.8196 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/0.9978, allocations: 174.4 kB / 0.8197 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/1.002, allocations: 2.044 MB / 0.8217 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.002, allocations: 16.06 kB / 0.8217 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.002, allocations: 2.594 kB / 0.8217 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/1.002, allocations: 8.844 kB / 0.8217 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006674/1.009, allocations: 3.831 MB / 0.8255 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.009, allocations: 3.938 kB / 0.8255 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/1.01, allocations: 320.3 kB / 0.8258 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008647/1.011, allocations: 196.1 kB / 0.826 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.962e-05/1.011, allocations: 43.97 kB / 0.826 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/1.018, allocations: 7.356 MB / 0.8332 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.018, allocations: 4.031 kB / 0.8332 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/1.022, allocations: 1.912 MB / 0.8351 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/1.023, allocations: 454.5 kB / 0.8355 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/1.023, allocations: 28 kB / 0.8355 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.024, allocations: 90.88 kB / 0.8356 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/1.025, allocations: 116.2 kB / 0.8357 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.025, allocations: 63.95 kB / 0.8358 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001714/1.026, allocations: 1.261 MB / 0.837 GB, free: 312 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/1.026, allocations: 0 / 0.837 GB, free: 312 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001841/1.028, allocations: 0.6352 MB / 0.8376 GB, free: 15.67 MB / 0.6231 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.002182/1.03, allocations: 0.7432 MB / 0.8384 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005282/1.036, allocations: 2.438 MB / 0.8408 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.036, allocations: 4.797 kB / 0.8408 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/1.038, allocations: 1.38 MB / 0.8421 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/1.04, allocations: 0.525 MB / 0.8426 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007623/1.048, allocations: 3.821 MB / 0.8463 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.049, allocations: 1.466 MB / 0.8478 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006975/1.05, allocations: 179.3 kB / 0.848 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/1.05, allocations: 3.188 kB / 0.848 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of Templates: time 0.0766/1.127, allocations: 64.49 MB / 0.9109 GB, free: 4.895 MB / 0.6856 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