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.001196/0.001196, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001303/0.001303, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7554/0.7554, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1417, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4615/0.6032, allocations: 167 MB / 0.8283 GB, free: 312 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.6211, allocations: 17.11 MB / 0.8451 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.6221, allocations: 29.5 kB / 0.8451 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.6234, allocations: 0.5267 MB / 0.8456 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.6271, allocations: 1.642 MB / 0.8472 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.6299, allocations: 1.397 MB / 0.8486 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.6321, allocations: 2.548 MB / 0.8511 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.6341, allocations: 1.956 MB / 0.853 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.637, allocations: 1.345 MB / 0.8543 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.6381, allocations: 1.04 MB / 0.8553 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.6383, allocations: 208.9 kB / 0.8555 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.6408, allocations: 1.544 MB / 0.857 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005631/0.6414, allocations: 0.7662 MB / 0.8578 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.6424, allocations: 1.127 MB / 0.8589 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.6457, allocations: 3.419 MB / 0.8622 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6457, allocations: 0 / 0.8622 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6458, allocations: 4 kB / 0.8622 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.086e-05/0.6458, allocations: 0 / 0.8622 GB, free: 5.617 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.003578/0.6494, allocations: 2.644 MB / 0.8648 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.6494, allocations: 9.109 kB / 0.8648 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/0.6527, allocations: 0.5474 MB / 0.8653 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.6546, allocations: 1.595 MB / 0.8669 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/0.6547, allocations: 123.3 kB / 0.867 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.6549, allocations: 167.9 kB / 0.8672 GB, free: 428 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.6577, allocations: 1.888 MB / 0.869 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.6578, allocations: 0 / 0.869 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.6579, allocations: 76 kB / 0.8691 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.658, allocations: 47.94 kB / 0.8691 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.6611, allocations: 2.061 MB / 0.8711 GB, free: 12.29 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.007227/0.6683, allocations: 5.664 MB / 0.8767 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/0.6711, allocations: 2.033 MB / 0.8787 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.6723, allocations: 0.7413 MB / 0.8794 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005114/0.6728, allocations: 425.7 kB / 0.8798 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/0.6744, allocations: 0.9464 MB / 0.8807 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.896e-06/0.6745, allocations: 0 / 0.8807 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006024/0.6805, allocations: 2.852 MB / 0.8835 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/0.6806, allocations: 201.2 kB / 0.8837 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.6827, allocations: 1.755 MB / 0.8854 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.6828, allocations: 61.69 kB / 0.8855 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006006/0.6834, allocations: 0.8113 MB / 0.8862 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.6838, allocations: 465.2 kB / 0.8867 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000362/0.6841, allocations: 238.8 kB / 0.8869 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6843, allocations: 357.9 kB / 0.8873 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.6853, allocations: 0.5726 MB / 0.8878 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.6866, allocations: 0.7768 MB / 0.8886 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/0.6888, allocations: 1.306 MB / 0.8899 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6888, allocations: 0 / 0.8899 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00355/0.6923, allocations: 1.752 MB / 0.8916 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6924, allocations: 11.94 kB / 0.8916 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6924, allocations: 4.062 kB / 0.8916 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009795/0.6934, allocations: 208 kB / 0.8918 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.6948, allocations: 323.6 kB / 0.8921 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00557/0.7004, allocations: 7.324 MB / 0.8992 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.7016, allocations: 158.8 kB / 0.8994 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.7017, allocations: 55.95 kB / 0.8994 GB, free: 13.85 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.0007664/0.7025, allocations: 465.5 kB / 0.8999 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/0.7029, allocations: 177.8 kB / 0.9001 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/0.7069, allocations: 2.042 MB / 0.9021 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.7069, allocations: 16 kB / 0.9021 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.707, allocations: 0 / 0.9021 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.707, allocations: 7.969 kB / 0.9021 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006012/0.713, allocations: 3.829 MB / 0.9058 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.713, allocations: 0 / 0.9058 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.7143, allocations: 315.5 kB / 0.9061 GB, free: 6.895 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008044/0.7152, allocations: 204.1 kB / 0.9063 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-05/0.7153, allocations: 35.97 kB / 0.9063 GB, free: 6.645 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005368/0.7206, allocations: 7.351 MB / 0.9135 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.7207, allocations: 3.938 kB / 0.9135 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003666/0.7243, allocations: 1.918 MB / 0.9154 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000767/0.7251, allocations: 450.4 kB / 0.9158 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.7254, allocations: 28 kB / 0.9159 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.7265, allocations: 101.8 kB / 0.916 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.7267, allocations: 101.2 kB / 0.916 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.7269, allocations: 63.95 kB / 0.9161 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001666/0.7286, allocations: 1.261 MB / 0.9173 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7286, allocations: 0 / 0.9173 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001528/0.7301, allocations: 0.6469 MB / 0.918 GB, free: 9.969 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.001663/0.7318, allocations: 0.7368 MB / 0.9187 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003156/0.7349, allocations: 2.031 MB / 0.9207 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.735, allocations: 4.859 kB / 0.9207 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.7369, allocations: 1.379 MB / 0.922 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.7389, allocations: 0.5337 MB / 0.9225 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/0.7458, allocations: 3.777 MB / 0.9262 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.7468, allocations: 1.462 MB / 0.9277 GB, free: 56 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006188/0.7475, allocations: 187.3 kB / 0.9278 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of SimCode: time 6.72e-07/0.7475, allocations: 0 / 0.9278 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of Templates: time 0.06362/0.8111, allocations: 64.46 MB / 0.9908 GB, free: 15.48 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