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.001522/0.001523, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9226/0.9226, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 65.23 kB / 0.5053 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1721, allocations: 80.93 MB / 0.5843 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4498/0.622, allocations: 164.7 MB / 0.7451 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02102/0.643, allocations: 17.17 MB / 0.7619 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.6446, allocations: 27.81 kB / 0.7619 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.6463, allocations: 453.3 kB / 0.7624 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004705/0.651, allocations: 1.46 MB / 0.7638 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.6545, allocations: 1.227 MB / 0.765 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003395/0.6579, allocations: 2.791 MB / 0.7677 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/0.6604, allocations: 1.816 MB / 0.7695 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005077/0.6655, allocations: 1.213 MB / 0.7707 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.667, allocations: 1.015 MB / 0.7717 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.6673, allocations: 120 kB / 0.7718 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.6706, allocations: 1.571 MB / 0.7733 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006721/0.6713, allocations: 0.6736 MB / 0.774 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.6724, allocations: 1.037 MB / 0.775 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.6753, allocations: 2.522 MB / 0.7774 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.6753, allocations: 0 / 0.7774 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6754, allocations: 0 / 0.7774 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.784e-05/0.6754, allocations: 0 / 0.7774 GB, free: 7.738 MB / 0.5919 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.004416/0.6798, allocations: 2.635 MB / 0.78 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6799, allocations: 12.03 kB / 0.78 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/0.6835, allocations: 0.5474 MB / 0.7806 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.6858, allocations: 1.565 MB / 0.7821 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.754e-05/0.6859, allocations: 127.2 kB / 0.7822 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.6861, allocations: 164 kB / 0.7824 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/0.6894, allocations: 1.896 MB / 0.7842 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.6895, allocations: 4 kB / 0.7842 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.6896, allocations: 76 kB / 0.7843 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.6897, allocations: 40 kB / 0.7843 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.6931, allocations: 2.058 MB / 0.7863 GB, free: 14.45 MB / 0.6075 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.008789/0.7019, allocations: 5.721 MB / 0.7919 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.705, allocations: 2.039 MB / 0.7939 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.7063, allocations: 0.7342 MB / 0.7946 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006019/0.7069, allocations: 433.7 kB / 0.7951 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/0.7086, allocations: 0.9491 MB / 0.796 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.876e-06/0.7086, allocations: 0 / 0.796 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006644/0.7153, allocations: 2.848 MB / 0.7988 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.7154, allocations: 209.2 kB / 0.799 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.7177, allocations: 1.751 MB / 0.8007 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002552/0.718, allocations: 57.7 kB / 0.8007 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007234/0.7187, allocations: 0.8151 MB / 0.8015 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004633/0.7192, allocations: 465.3 kB / 0.802 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/0.7196, allocations: 242.8 kB / 0.8022 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7198, allocations: 353.9 kB / 0.8025 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.7209, allocations: 0.5686 MB / 0.8031 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.7222, allocations: 0.7818 MB / 0.8039 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.7246, allocations: 1.302 MB / 0.8051 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7246, allocations: 0 / 0.8051 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003993/0.7286, allocations: 1.756 MB / 0.8068 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.7286, allocations: 4 kB / 0.8068 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7286, allocations: 3.938 kB / 0.8068 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.7297, allocations: 212.1 kB / 0.807 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.7313, allocations: 319.6 kB / 0.8074 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.7371, allocations: 6.799 MB / 0.814 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.7387, allocations: 174.8 kB / 0.8142 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.7389, allocations: 47.97 kB / 0.8142 GB, free: 0.5039 MB / 0.6231 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.0008946/0.7398, allocations: 477.4 kB / 0.8147 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.7402, allocations: 178 kB / 0.8148 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.7447, allocations: 2.046 MB / 0.8168 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/0.7447, allocations: 16 kB / 0.8168 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7447, allocations: 0 / 0.8168 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.7447, allocations: 7.969 kB / 0.8169 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00674/0.7515, allocations: 3.829 MB / 0.8206 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.7515, allocations: 0 / 0.8206 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.753, allocations: 311.6 kB / 0.8209 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009745/0.754, allocations: 216 kB / 0.8211 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.7541, allocations: 39.97 kB / 0.8211 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005635/0.7598, allocations: 6.844 MB / 0.8278 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7598, allocations: 0 / 0.8278 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004214/0.764, allocations: 1.904 MB / 0.8297 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009381/0.765, allocations: 450.5 kB / 0.8301 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/0.7653, allocations: 31.98 kB / 0.8301 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.7666, allocations: 130.1 kB / 0.8303 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.7669, allocations: 97.17 kB / 0.8304 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.767, allocations: 67.94 kB / 0.8304 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001737/0.7688, allocations: 1.265 MB / 0.8317 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.274e-06/0.7688, allocations: 0 / 0.8317 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001848/0.7707, allocations: 0.6468 MB / 0.8323 GB, free: 13.13 MB / 0.6544 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.001706/0.7724, allocations: 0.7409 MB / 0.833 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003487/0.7759, allocations: 2.012 MB / 0.835 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.7759, allocations: 0.7969 kB / 0.835 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002037/0.7779, allocations: 1.387 MB / 0.8363 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.7803, allocations: 490.6 kB / 0.8368 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/0.7882, allocations: 4.598 MB / 0.8413 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.7894, allocations: 1.458 MB / 0.8427 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007507/0.7901, allocations: 187.3 kB / 0.8429 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of SimCode: time 7.31e-07/0.7901, allocations: 0 / 0.8429 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of Templates: time 0.3093/1.099, allocations: 64.45 MB / 0.9058 GB, free: 203 MB / 0.67 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++14 -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