Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005521/0.005521, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001098/0.001098, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9449/0.9449, allocations: 135.1 MB / 425.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 63.97 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1963, allocations: 80.93 MB / 0.5843 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5161/0.7124, allocations: 151.5 MB / 0.7323 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.7285, allocations: 10.43 MB / 0.7424 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.73, allocations: 19.97 kB / 0.7425 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009909/0.731, allocations: 219 kB / 0.7427 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003177/0.7342, allocations: 0.7495 MB / 0.7434 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.7371, allocations: 0.9118 MB / 0.7443 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002054/0.7392, allocations: 1.509 MB / 0.7458 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.7408, allocations: 1.052 MB / 0.7468 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.7431, allocations: 0.5882 MB / 0.7474 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007843/0.7439, allocations: 0.5226 MB / 0.7479 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.7441, allocations: 59 kB / 0.7479 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.7463, allocations: 0.9567 MB / 0.7489 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.7466, allocations: 298 kB / 0.7492 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000568/0.7472, allocations: 0.5409 MB / 0.7497 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.7492, allocations: 1.508 MB / 0.7512 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7492, allocations: 0 / 0.7512 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7492, allocations: 0 / 0.7512 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.7492, allocations: 0 / 0.7512 GB, free: 2.438 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002835/0.752, allocations: 1.595 MB / 0.7527 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.7521, allocations: 11.97 kB / 0.7527 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.7537, allocations: 258.2 kB / 0.753 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.755, allocations: 0.8512 MB / 0.7538 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.755, allocations: 74 kB / 0.7539 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.7552, allocations: 88 kB / 0.754 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.757, allocations: 1.047 MB / 0.755 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.757, allocations: 0 / 0.755 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-05/0.7571, allocations: 44 kB / 0.755 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.7571, allocations: 20 kB / 0.755 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.7592, allocations: 1.272 MB / 0.7563 GB, free: 13.24 MB / 0.5762 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.004783/0.764, allocations: 3.072 MB / 0.7593 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.7657, allocations: 1.011 MB / 0.7603 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006809/0.7664, allocations: 383.7 kB / 0.7606 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.7667, allocations: 138.1 kB / 0.7608 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009906/0.7677, allocations: 0.5552 MB / 0.7613 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=86): time 3.537e-06/0.7677, allocations: 0 / 0.7613 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86): time 0.004101/0.7718, allocations: 1.503 MB / 0.7628 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.7719, allocations: 188.9 kB / 0.763 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.773, allocations: 0.7663 MB / 0.7637 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/0.7731, allocations: 45.7 kB / 0.7637 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.7735, allocations: 444.4 kB / 0.7642 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.7738, allocations: 283.9 kB / 0.7644 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.7741, allocations: 166.5 kB / 0.7646 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7742, allocations: 345.9 kB / 0.7649 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006534/0.7749, allocations: 313.8 kB / 0.7652 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007953/0.7757, allocations: 449.5 kB / 0.7657 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.7771, allocations: 0.7297 MB / 0.7664 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7772, allocations: 4 kB / 0.7664 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002494/0.7797, allocations: 1.006 MB / 0.7674 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.7797, allocations: 7.938 kB / 0.7674 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7797, allocations: 0 / 0.7674 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007879/0.7805, allocations: 117.6 kB / 0.7675 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/0.7814, allocations: 187.8 kB / 0.7677 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/0.7847, allocations: 2.848 MB / 0.7704 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.7858, allocations: 106.8 kB / 0.7705 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/0.7859, allocations: 47.91 kB / 0.7706 GB, free: 13.99 MB / 0.5919 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006868/0.7866, allocations: 285.6 kB / 0.7709 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.7868, allocations: 94.88 kB / 0.771 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.7896, allocations: 1.223 MB / 0.7721 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.7897, allocations: 8 kB / 0.7722 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7897, allocations: 4 kB / 0.7722 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.7897, allocations: 7.969 kB / 0.7722 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.7935, allocations: 2.252 MB / 0.7744 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7935, allocations: 3.984 kB / 0.7744 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/0.7943, allocations: 183.8 kB / 0.7745 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006303/0.795, allocations: 113.5 kB / 0.7746 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/0.7951, allocations: 27.98 kB / 0.7747 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.7978, allocations: 2.875 MB / 0.7775 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7978, allocations: 3.938 kB / 0.7775 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.8004, allocations: 1.125 MB / 0.7786 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/0.8008, allocations: 291.6 kB / 0.7789 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.801, allocations: 24.06 kB / 0.7789 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007439/0.8017, allocations: 75.86 kB / 0.779 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.8019, allocations: 64.91 kB / 0.779 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.283e-05/0.802, allocations: 43.97 kB / 0.7791 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007066/0.8027, allocations: 0.542 MB / 0.7796 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.8027, allocations: 4 kB / 0.7796 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001308/0.804, allocations: 411.2 kB / 0.78 GB, free: 3.945 MB / 0.5919 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001711/0.8058, allocations: 0.7121 MB / 0.7807 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.808, allocations: 1.065 MB / 0.7817 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.808, allocations: 0 / 0.7817 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.8092, allocations: 0.6904 MB / 0.7824 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.8108, allocations: 316.2 kB / 0.7827 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.8156, allocations: 2.514 MB / 0.7852 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/0.8162, allocations: 1.067 MB / 0.7862 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.8167, allocations: 127.4 kB / 0.7863 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/0.8167, allocations: 0 / 0.7863 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.0333/0.85, allocations: 25.58 MB / 0.8113 GB, free: 4.066 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.Examples.Outside_CpData_SpecificationCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationFunctions.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.Examples.Outside_CpData_SpecificationCalcHelperMain.o] Error 1