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.001263/0.001263, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001227/0.001227, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8289/0.8289, allocations: 135.2 MB / 426.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 59.91 kB / 0.506 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3748, allocations: 80.91 MB / 0.585 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1691/0.544, allocations: 153.8 MB / 0.7352 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.5594, allocations: 10.4 MB / 0.7454 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00096/0.5604, allocations: 27.88 kB / 0.7454 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008892/0.5613, allocations: 253.9 kB / 0.7456 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.564, allocations: 0.8893 MB / 0.7465 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.5667, allocations: 1.039 MB / 0.7475 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.5685, allocations: 1.492 MB / 0.749 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/0.5701, allocations: 1.149 MB / 0.7501 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.5718, allocations: 0.6533 MB / 0.7507 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3261/0.8978, allocations: 0.5502 MB / 0.7513 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004521/0.8983, allocations: 121.2 kB / 0.7514 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.9005, allocations: 0.9816 MB / 0.7524 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.9009, allocations: 353.7 kB / 0.7527 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000582/0.9015, allocations: 0.5995 MB / 0.7533 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.9038, allocations: 2.019 MB / 0.7552 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9038, allocations: 0 / 0.7552 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9038, allocations: 0.625 kB / 0.7552 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.9039, allocations: 0.6875 kB / 0.7552 GB, free: 3.961 MB / 0.5762 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.00244/0.9063, allocations: 1.596 MB / 0.7568 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.9063, allocations: 12.17 kB / 0.7568 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.9079, allocations: 256.6 kB / 0.7571 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.9089, allocations: 0.8423 MB / 0.7579 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.909, allocations: 72.69 kB / 0.758 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.9092, allocations: 88.22 kB / 0.758 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.9111, allocations: 1.041 MB / 0.7591 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.9111, allocations: 4.844 kB / 0.7591 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.633e-05/0.9112, allocations: 40.64 kB / 0.7591 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.9112, allocations: 28.52 kB / 0.7591 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.9135, allocations: 1.27 MB / 0.7604 GB, free: 2.578 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.00477/0.9183, allocations: 3.071 MB / 0.7634 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.9201, allocations: 1.017 MB / 0.7644 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007632/0.9209, allocations: 393 kB / 0.7647 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.9212, allocations: 137.8 kB / 0.7649 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009513/0.9221, allocations: 0.5437 MB / 0.7654 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=86): time 2.344e-06/0.9221, allocations: 3.344 kB / 0.7654 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86): time 0.003884/0.926, allocations: 1.503 MB / 0.7669 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.9262, allocations: 191.2 kB / 0.767 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.9272, allocations: 0.7569 MB / 0.7678 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.9273, allocations: 45.86 kB / 0.7678 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.9276, allocations: 444.8 kB / 0.7683 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.9278, allocations: 292.1 kB / 0.7685 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.9281, allocations: 169 kB / 0.7687 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.9283, allocations: 339.8 kB / 0.769 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006622/0.929, allocations: 321.5 kB / 0.7693 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/0.9297, allocations: 448.1 kB / 0.7698 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.9309, allocations: 0.7295 MB / 0.7705 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.931, allocations: 2.719 kB / 0.7705 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002132/0.9331, allocations: 1.008 MB / 0.7715 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.9331, allocations: 8.281 kB / 0.7715 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.9331, allocations: 4.125 kB / 0.7715 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006994/0.9338, allocations: 110.3 kB / 0.7716 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/0.9346, allocations: 194.1 kB / 0.7718 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.9378, allocations: 3.058 MB / 0.7747 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007799/0.9386, allocations: 105.6 kB / 0.7748 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/0.9387, allocations: 40.19 kB / 0.7749 GB, free: 12.87 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.0005122/0.9392, allocations: 294.3 kB / 0.7752 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.9394, allocations: 91.75 kB / 0.7752 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.9419, allocations: 1.218 MB / 0.7764 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.942, allocations: 9.281 kB / 0.7764 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.942, allocations: 2.562 kB / 0.7764 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.942, allocations: 2.906 kB / 0.7765 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/0.9454, allocations: 2.242 MB / 0.7786 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.9454, allocations: 0 / 0.7786 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.9462, allocations: 191.3 kB / 0.7788 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005342/0.9467, allocations: 107 kB / 0.7789 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/0.9468, allocations: 24.81 kB / 0.7789 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/0.9502, allocations: 3.097 MB / 0.782 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.9502, allocations: 8.172 kB / 0.782 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.9529, allocations: 1.13 MB / 0.7831 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005735/0.9535, allocations: 293.8 kB / 0.7834 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.9536, allocations: 20 kB / 0.7834 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007133/0.9544, allocations: 75.83 kB / 0.7835 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.9545, allocations: 70.59 kB / 0.7835 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.27e-05/0.9546, allocations: 39.33 kB / 0.7836 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007268/0.9554, allocations: 0.5425 MB / 0.7841 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.243e-06/0.9554, allocations: 0 / 0.7841 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001295/0.9567, allocations: 418.2 kB / 0.7845 GB, free: 8.906 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.002187/0.9589, allocations: 0.7016 MB / 0.7852 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002907/0.9618, allocations: 1.288 MB / 0.7864 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.9618, allocations: 4.734 kB / 0.7864 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.963, allocations: 0.7032 MB / 0.7871 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.9646, allocations: 356.8 kB / 0.7875 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.9694, allocations: 2.062 MB / 0.7895 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000902/0.9704, allocations: 1.072 MB / 0.7905 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.9708, allocations: 129.3 kB / 0.7906 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/0.9708, allocations: 0.8438 kB / 0.7906 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of Templates: time 0.03939/1.01, allocations: 25.6 MB / 0.8157 GB, free: 12.09 MB / 0.6075 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++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.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