Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001514/0.001513, allocations: 107.6 kB / 16.41 MB, free: 6.5 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.001682/0.001682, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8502/0.8502, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 71.83 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1681, allocations: 80.2 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5196/0.6878, allocations: 167 MB / 0.8234 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0195/0.7073, allocations: 17.11 MB / 0.8401 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.709, allocations: 29.66 kB / 0.8401 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.7105, allocations: 0.5301 MB / 0.8406 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004643/0.7152, allocations: 1.64 MB / 0.8422 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.7184, allocations: 1.407 MB / 0.8436 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002923/0.7213, allocations: 2.545 MB / 0.8461 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.7237, allocations: 1.951 MB / 0.848 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/0.7275, allocations: 1.348 MB / 0.8493 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.729, allocations: 1.037 MB / 0.8503 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.7293, allocations: 213.5 kB / 0.8505 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.7324, allocations: 1.534 MB / 0.852 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006526/0.7331, allocations: 0.7718 MB / 0.8528 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.7341, allocations: 1.131 MB / 0.8539 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.7389, allocations: 3.415 MB / 0.8572 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7389, allocations: 0 / 0.8572 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7389, allocations: 0 / 0.8572 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.748e-05/0.739, allocations: 0 / 0.8572 GB, free: 12.33 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.004233/0.7432, allocations: 2.64 MB / 0.8598 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.7432, allocations: 8.031 kB / 0.8598 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.7468, allocations: 0.5513 MB / 0.8603 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.7491, allocations: 1.595 MB / 0.8619 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.814e-05/0.7493, allocations: 123.3 kB / 0.862 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.7495, allocations: 167.9 kB / 0.8622 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/0.7527, allocations: 1.892 MB / 0.864 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.7527, allocations: 0 / 0.864 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.7529, allocations: 72 kB / 0.8641 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.7529, allocations: 43.94 kB / 0.8641 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.7563, allocations: 2.061 MB / 0.8662 GB, free: 3.004 MB / 0.6231 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.008955/0.7653, allocations: 5.672 MB / 0.8717 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/0.7684, allocations: 2.034 MB / 0.8737 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.7697, allocations: 0.7413 MB / 0.8744 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005813/0.7703, allocations: 429.7 kB / 0.8748 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001664/0.7719, allocations: 0.9387 MB / 0.8757 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 5.41e-06/0.772, allocations: 0 / 0.8757 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006486/0.7785, allocations: 2.852 MB / 0.8785 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.7786, allocations: 205.2 kB / 0.8787 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/0.7811, allocations: 1.763 MB / 0.8804 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.7813, allocations: 53.7 kB / 0.8805 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007265/0.7821, allocations: 0.8113 MB / 0.8813 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/0.7825, allocations: 465.2 kB / 0.8817 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004563/0.783, allocations: 242.8 kB / 0.882 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7832, allocations: 357.9 kB / 0.8823 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.7843, allocations: 0.5686 MB / 0.8828 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.7857, allocations: 0.778 MB / 0.8836 GB, free: 436 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/0.788, allocations: 1.298 MB / 0.8849 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.788, allocations: 0 / 0.8849 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003933/0.792, allocations: 1.752 MB / 0.8866 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.792, allocations: 7.938 kB / 0.8866 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.792, allocations: 7.984 kB / 0.8866 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.7931, allocations: 212.1 kB / 0.8868 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.7946, allocations: 319.6 kB / 0.8871 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.8006, allocations: 7.324 MB / 0.8943 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.8021, allocations: 158.9 kB / 0.8944 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.8024, allocations: 60.03 kB / 0.8945 GB, free: 4.551 MB / 0.6544 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.001004/0.8034, allocations: 474.2 kB / 0.8949 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000504/0.8039, allocations: 177.8 kB / 0.8951 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004475/0.8084, allocations: 2.034 MB / 0.8971 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.8084, allocations: 16 kB / 0.8971 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.8084, allocations: 4 kB / 0.8971 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.8085, allocations: 7.969 kB / 0.8971 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007021/0.8155, allocations: 3.822 MB / 0.9008 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.8155, allocations: 4 kB / 0.9008 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.817, allocations: 319.5 kB / 0.9011 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009059/0.8179, allocations: 196.1 kB / 0.9013 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.818, allocations: 43.97 kB / 0.9014 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005774/0.8238, allocations: 7.359 MB / 0.9086 GB, free: 5.27 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.8239, allocations: 7.875 kB / 0.9086 GB, free: 5.262 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004226/0.8281, allocations: 1.914 MB / 0.9104 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009616/0.8291, allocations: 454.4 kB / 0.9109 GB, free: 2.848 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/0.8295, allocations: 27.94 kB / 0.9109 GB, free: 2.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.8308, allocations: 105 kB / 0.911 GB, free: 2.723 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.8311, allocations: 101.2 kB / 0.9111 GB, free: 2.625 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.8312, allocations: 63.95 kB / 0.9112 GB, free: 2.562 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001816/0.8331, allocations: 1.261 MB / 0.9124 GB, free: 1.305 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.5e-07/0.8331, allocations: 0 / 0.9124 GB, free: 1.305 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001914/0.835, allocations: 0.6353 MB / 0.913 GB, free: 0.668 MB / 0.67 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.001909/0.8369, allocations: 0.7479 MB / 0.9137 GB, free: 140 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003693/0.8406, allocations: 2.031 MB / 0.9157 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.8407, allocations: 4.797 kB / 0.9157 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.8427, allocations: 1.379 MB / 0.9171 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.8455, allocations: 0.5196 MB / 0.9176 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007852/0.8534, allocations: 3.782 MB / 0.9213 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.8548, allocations: 1.458 MB / 0.9227 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007545/0.8556, allocations: 191.3 kB / 0.9229 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.8556, allocations: 0 / 0.9229 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of Templates: time 0.07103/0.9266, allocations: 64.45 MB / 0.9858 GB, free: 6.23 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.o] Error 1