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.001565/0.001565, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001841/0.001842, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.818/0.818, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.11 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.155, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5726/0.7277, allocations: 167 MB / 0.8234 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02119/0.7489, allocations: 17.11 MB / 0.8401 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.7506, allocations: 32.47 kB / 0.8401 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.7524, allocations: 0.5377 MB / 0.8406 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004923/0.7574, allocations: 1.681 MB / 0.8423 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.7609, allocations: 1.398 MB / 0.8436 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003419/0.7643, allocations: 2.561 MB / 0.8462 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002809/0.7671, allocations: 1.947 MB / 0.8481 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003974/0.7711, allocations: 1.402 MB / 0.8494 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.7729, allocations: 1.033 MB / 0.8504 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006323/0.7735, allocations: 211.3 kB / 0.8506 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.7769, allocations: 1.541 MB / 0.8521 GB, free: 424 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008146/0.7778, allocations: 0.7752 MB / 0.8529 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.779, allocations: 1.128 MB / 0.854 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004668/0.7837, allocations: 3.421 MB / 0.8573 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7837, allocations: 0 / 0.8573 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.562e-06/0.7837, allocations: 0 / 0.8573 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.094e-05/0.7838, allocations: 0 / 0.8573 GB, free: 12.2 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.004122/0.7879, allocations: 2.633 MB / 0.8599 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.7879, allocations: 12.03 kB / 0.8599 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/0.7915, allocations: 0.5474 MB / 0.8605 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.7938, allocations: 1.599 MB / 0.862 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.7939, allocations: 123.3 kB / 0.8621 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/0.7942, allocations: 167.9 kB / 0.8623 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/0.7974, allocations: 1.896 MB / 0.8641 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.7974, allocations: 0 / 0.8641 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.7976, allocations: 72 kB / 0.8642 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.7976, allocations: 40 kB / 0.8642 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00336/0.801, allocations: 2.073 MB / 0.8663 GB, free: 2.871 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.00822/0.8092, allocations: 5.66 MB / 0.8718 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.8123, allocations: 2.03 MB / 0.8738 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.8135, allocations: 0.7452 MB / 0.8745 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005761/0.8141, allocations: 433.7 kB / 0.8749 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/0.8157, allocations: 0.9427 MB / 0.8758 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.775e-06/0.8157, allocations: 0 / 0.8758 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006343/0.8221, allocations: 2.852 MB / 0.8786 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.8222, allocations: 197.2 kB / 0.8788 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.8244, allocations: 1.763 MB / 0.8805 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.8246, allocations: 53.7 kB / 0.8806 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006665/0.8253, allocations: 0.8113 MB / 0.8814 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003839/0.8257, allocations: 465.2 kB / 0.8818 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003878/0.8261, allocations: 242.8 kB / 0.8821 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8262, allocations: 353.9 kB / 0.8824 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.8273, allocations: 0.5764 MB / 0.883 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.8286, allocations: 0.774 MB / 0.8837 GB, free: 312 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.8309, allocations: 1.302 MB / 0.885 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.831, allocations: 0 / 0.885 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003814/0.8348, allocations: 1.748 MB / 0.8867 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.8348, allocations: 15.86 kB / 0.8867 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8348, allocations: 7.938 kB / 0.8867 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009975/0.8358, allocations: 204.2 kB / 0.8869 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.8373, allocations: 323.6 kB / 0.8872 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00606/0.8434, allocations: 7.318 MB / 0.8944 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.845, allocations: 158.8 kB / 0.8945 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.8451, allocations: 51.97 kB / 0.8946 GB, free: 4.434 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.000908/0.846, allocations: 485.4 kB / 0.895 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/0.8464, allocations: 173.8 kB / 0.8952 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/0.8507, allocations: 2.038 MB / 0.8972 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.8507, allocations: 12 kB / 0.8972 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.8508, allocations: 4 kB / 0.8972 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.8508, allocations: 7.969 kB / 0.8972 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/0.8572, allocations: 3.825 MB / 0.9009 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.8572, allocations: 0 / 0.9009 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.8587, allocations: 331.4 kB / 0.9013 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008425/0.8595, allocations: 196.1 kB / 0.9014 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.953e-05/0.8596, allocations: 35.97 kB / 0.9015 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006006/0.8657, allocations: 7.366 MB / 0.9087 GB, free: 5.137 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8657, allocations: 3.938 kB / 0.9087 GB, free: 5.133 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004167/0.8699, allocations: 1.91 MB / 0.9105 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008827/0.8708, allocations: 450.4 kB / 0.911 GB, free: 2.727 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.871, allocations: 28 kB / 0.911 GB, free: 2.699 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.8721, allocations: 101.2 kB / 0.9111 GB, free: 2.605 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.8724, allocations: 101.2 kB / 0.9112 GB, free: 2.508 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.8725, allocations: 67.95 kB / 0.9113 GB, free: 2.441 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00158/0.8741, allocations: 1.261 MB / 0.9125 GB, free: 1.184 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8741, allocations: 0 / 0.9125 GB, free: 1.184 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001649/0.8758, allocations: 0.6353 MB / 0.9131 GB, free: 0.5469 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.001739/0.8775, allocations: 0.7423 MB / 0.9138 GB, free: 16 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003584/0.8811, allocations: 2.035 MB / 0.9158 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.8812, allocations: 4.797 kB / 0.9158 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.8832, allocations: 1.376 MB / 0.9172 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.8857, allocations: 0.5239 MB / 0.9177 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0074/0.8931, allocations: 3.777 MB / 0.9214 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.8942, allocations: 1.462 MB / 0.9228 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007612/0.895, allocations: 187.3 kB / 0.923 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of SimCode: time 1.433e-06/0.895, allocations: 4 kB / 0.923 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of Templates: time 0.07695/0.972, allocations: 64.65 MB / 0.9861 GB, free: 5.914 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