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.001515/0.001515, allocations: 103.2 kB / 16.27 MB, free: 6 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.001465/0.001465, allocations: 191.9 kB / 17.2 MB, free: 5.609 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.815/0.815, allocations: 135.2 MB / 426.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.89 kB / 0.506 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3403, allocations: 80.91 MB / 0.5851 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1661/0.5064, allocations: 153.8 MB / 0.7352 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.5208, allocations: 10.42 MB / 0.7454 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008154/0.5216, allocations: 19.88 kB / 0.7454 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007983/0.5224, allocations: 261.9 kB / 0.7457 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.5252, allocations: 0.8806 MB / 0.7465 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.5277, allocations: 1.04 MB / 0.7475 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.5294, allocations: 1.492 MB / 0.749 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.5309, allocations: 1.149 MB / 0.7501 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.5325, allocations: 0.6504 MB / 0.7507 GB, free: 292 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.303/0.8355, allocations: 0.5508 MB / 0.7513 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000536/0.8361, allocations: 121.9 kB / 0.7514 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.8385, allocations: 0.9803 MB / 0.7524 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000552/0.8391, allocations: 356.1 kB / 0.7527 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009276/0.8401, allocations: 0.5971 MB / 0.7533 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003029/0.8431, allocations: 2.016 MB / 0.7553 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8431, allocations: 0 / 0.7553 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8431, allocations: 0 / 0.7553 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.403e-05/0.8432, allocations: 0 / 0.7553 GB, free: 3.988 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.003075/0.8463, allocations: 1.601 MB / 0.7568 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.8463, allocations: 12.61 kB / 0.7568 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.8479, allocations: 259.8 kB / 0.7571 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.849, allocations: 0.841 MB / 0.7579 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.8491, allocations: 69.27 kB / 0.758 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.8492, allocations: 90.75 kB / 0.758 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.8511, allocations: 1.042 MB / 0.7591 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.8511, allocations: 5.219 kB / 0.7591 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.07e-05/0.8512, allocations: 42 kB / 0.7591 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.8513, allocations: 26.03 kB / 0.7591 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.8534, allocations: 1.267 MB / 0.7604 GB, free: 2.605 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.0046/0.858, allocations: 3.072 MB / 0.7634 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.8596, allocations: 1.013 MB / 0.7644 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.8604, allocations: 393.1 kB / 0.7647 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.8608, allocations: 139.5 kB / 0.7649 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008509/0.8616, allocations: 0.5449 MB / 0.7654 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=86): time 2.285e-06/0.8616, allocations: 0 / 0.7654 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86): time 0.003803/0.8654, allocations: 1.502 MB / 0.7669 GB, free: 17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.8656, allocations: 193.3 kB / 0.7671 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.8667, allocations: 0.7582 MB / 0.7678 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/0.8668, allocations: 47.44 kB / 0.7678 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.8671, allocations: 442.4 kB / 0.7683 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.8673, allocations: 287 kB / 0.7685 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.8676, allocations: 172.9 kB / 0.7687 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8677, allocations: 336.5 kB / 0.769 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005889/0.8683, allocations: 326.2 kB / 0.7693 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007083/0.869, allocations: 439.5 kB / 0.7698 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.8703, allocations: 0.7336 MB / 0.7705 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8703, allocations: 4.281 kB / 0.7705 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002144/0.8725, allocations: 1.004 MB / 0.7715 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8725, allocations: 9.281 kB / 0.7715 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.8725, allocations: 2.75 kB / 0.7715 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006722/0.8732, allocations: 113.7 kB / 0.7716 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007684/0.874, allocations: 195.8 kB / 0.7718 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/0.8771, allocations: 3.061 MB / 0.7747 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008349/0.8779, allocations: 102.1 kB / 0.7748 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.878, allocations: 40.28 kB / 0.7749 GB, free: 12.9 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.0004847/0.8785, allocations: 293.7 kB / 0.7752 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.8787, allocations: 94.09 kB / 0.7753 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.8811, allocations: 1.22 MB / 0.7764 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.8811, allocations: 11.94 kB / 0.7765 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8811, allocations: 0 / 0.7765 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.8812, allocations: 6.938 kB / 0.7765 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.8844, allocations: 2.238 MB / 0.7786 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.8844, allocations: 0 / 0.7786 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.8852, allocations: 185.5 kB / 0.7788 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005212/0.8857, allocations: 106.9 kB / 0.7789 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.8858, allocations: 28.02 kB / 0.779 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.8887, allocations: 3.1 MB / 0.782 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8887, allocations: 0 / 0.782 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.891, allocations: 1.136 MB / 0.7831 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.8915, allocations: 293.1 kB / 0.7834 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.8916, allocations: 24.36 kB / 0.7834 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/0.8923, allocations: 76.05 kB / 0.7835 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.8925, allocations: 65.77 kB / 0.7835 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.756e-05/0.8926, allocations: 37.08 kB / 0.7836 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006154/0.8932, allocations: 0.5485 MB / 0.7841 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8932, allocations: 0 / 0.7841 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001087/0.8943, allocations: 418.8 kB / 0.7845 GB, free: 8.941 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.002062/0.8964, allocations: 0.7037 MB / 0.7852 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002743/0.8991, allocations: 1.291 MB / 0.7864 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.8991, allocations: 3.859 kB / 0.7864 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.9003, allocations: 0.6983 MB / 0.7871 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.9018, allocations: 345 kB / 0.7875 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.9061, allocations: 2.08 MB / 0.7895 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/0.9068, allocations: 1.069 MB / 0.7905 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.9072, allocations: 125.3 kB / 0.7907 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of SimCode: time 1.833e-06/0.9072, allocations: 7.562 kB / 0.7907 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of Templates: time 0.03121/0.9384, allocations: 25.59 MB / 0.8157 GB, free: 12.11 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