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.001648/0.001648, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.00178/0.00178, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.868/0.868, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.41 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1936, allocations: 80.94 MB / 0.6654 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.6692/0.8628, allocations: 167.4 MB / 0.8289 GB, free: 12 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02449/0.8873, allocations: 17.15 MB / 0.8456 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.8897, allocations: 29.75 kB / 0.8456 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.8919, allocations: 0.5467 MB / 0.8462 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005695/0.8976, allocations: 1.672 MB / 0.8478 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.9015, allocations: 1.402 MB / 0.8492 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003995/0.9055, allocations: 2.553 MB / 0.8517 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002515/0.908, allocations: 1.633 MB / 0.8532 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004594/0.9126, allocations: 1.41 MB / 0.8546 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.9143, allocations: 1.034 MB / 0.8556 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003296/0.9146, allocations: 208.1 kB / 0.8558 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.9182, allocations: 1.543 MB / 0.8573 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008238/0.919, allocations: 0.7712 MB / 0.8581 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.9204, allocations: 1.13 MB / 0.8592 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006282/0.9267, allocations: 3.432 MB / 0.8625 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.9267, allocations: 4 kB / 0.8625 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9267, allocations: 4 kB / 0.8626 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.086e-05/0.9267, allocations: 0 / 0.8626 GB, free: 5.469 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.004981/0.9317, allocations: 2.719 MB / 0.8652 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.9317, allocations: 13.11 kB / 0.8652 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003757/0.9355, allocations: 0.5566 MB / 0.8658 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.9383, allocations: 1.616 MB / 0.8673 GB, free: 456 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.9384, allocations: 127.3 kB / 0.8675 GB, free: 328 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.9387, allocations: 163.9 kB / 0.8676 GB, free: 164 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/0.9423, allocations: 1.888 MB / 0.8695 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.9424, allocations: 0 / 0.8695 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.9426, allocations: 72 kB / 0.8695 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.9426, allocations: 47.94 kB / 0.8696 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003818/0.9464, allocations: 2.065 MB / 0.8716 GB, free: 12.03 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.01/0.9564, allocations: 5.681 MB / 0.8771 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/0.9599, allocations: 1.952 MB / 0.879 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.9613, allocations: 0.6905 MB / 0.8797 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007052/0.962, allocations: 425.7 kB / 0.8801 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001794/0.9638, allocations: 0.9387 MB / 0.881 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.645e-06/0.9638, allocations: 0 / 0.881 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.007073/0.9708, allocations: 2.861 MB / 0.8838 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.971, allocations: 201.2 kB / 0.884 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.9736, allocations: 1.755 MB / 0.8857 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.9738, allocations: 57.7 kB / 0.8858 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009104/0.9747, allocations: 0.8398 MB / 0.8866 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004642/0.9752, allocations: 471.9 kB / 0.8871 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004278/0.9756, allocations: 242.8 kB / 0.8873 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.9758, allocations: 353.9 kB / 0.8876 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.977, allocations: 0.5764 MB / 0.8882 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.9785, allocations: 0.7701 MB / 0.889 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.9811, allocations: 1.302 MB / 0.8902 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.9811, allocations: 0 / 0.8902 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004277/0.9854, allocations: 1.761 MB / 0.8919 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.9854, allocations: 7.938 kB / 0.892 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.9854, allocations: 8.047 kB / 0.892 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.9865, allocations: 204.1 kB / 0.8922 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.988, allocations: 323.6 kB / 0.8925 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007243/0.9952, allocations: 7.332 MB / 0.8996 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.9969, allocations: 169.7 kB / 0.8998 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.997, allocations: 47.97 kB / 0.8998 GB, free: 13.67 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.001081/0.9981, allocations: 473.4 kB / 0.9003 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/0.9985, allocations: 186.8 kB / 0.9005 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004689/1.003, allocations: 2.042 MB / 0.9025 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/1.003, allocations: 12 kB / 0.9025 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.003, allocations: 4 kB / 0.9025 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/1.003, allocations: 7.969 kB / 0.9025 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007411/1.011, allocations: 3.814 MB / 0.9062 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.011, allocations: 0 / 0.9062 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/1.012, allocations: 319.5 kB / 0.9065 GB, free: 6.711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009873/1.013, allocations: 196.1 kB / 0.9067 GB, free: 6.504 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/1.013, allocations: 39.97 kB / 0.9067 GB, free: 6.465 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007094/1.02, allocations: 7.359 MB / 0.9139 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.02, allocations: 7.922 kB / 0.9139 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004565/1.025, allocations: 1.923 MB / 0.9158 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009834/1.026, allocations: 455.4 kB / 0.9162 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/1.026, allocations: 28 kB / 0.9163 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.027, allocations: 99.84 kB / 0.9164 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/1.028, allocations: 105.3 kB / 0.9165 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/1.028, allocations: 63.95 kB / 0.9165 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001824/1.03, allocations: 1.265 MB / 0.9178 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/1.03, allocations: 0 / 0.9178 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001763/1.031, allocations: 0.6508 MB / 0.9184 GB, free: 9.758 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.002379/1.034, allocations: 0.7382 MB / 0.9191 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003897/1.038, allocations: 1.973 MB / 0.921 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.038, allocations: 4.797 kB / 0.921 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002285/1.04, allocations: 1.336 MB / 0.9224 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/1.043, allocations: 0.5204 MB / 0.9229 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008034/1.051, allocations: 3.846 MB / 0.9266 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.052, allocations: 1.462 MB / 0.928 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/1.053, allocations: 183.3 kB / 0.9282 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of SimCode: time 9.12e-07/1.053, allocations: 0 / 0.9282 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of Templates: time 0.08399/1.137, allocations: 64.81 MB / 0.9915 GB, free: 14.97 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