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.001291/0.001291, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001241/0.001241, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8183/0.8183, allocations: 135.1 MB / 425.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 63.89 kB / 0.5055 GB, free: 8.727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3726, allocations: 80.91 MB / 0.5846 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1724/0.545, allocations: 151.6 MB / 0.7326 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01422/0.5593, allocations: 10.28 MB / 0.7427 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.5604, allocations: 23.88 kB / 0.7427 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008999/0.5613, allocations: 214.6 kB / 0.7429 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.5642, allocations: 0.7932 MB / 0.7437 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.5667, allocations: 0.941 MB / 0.7446 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001799/0.5685, allocations: 1.504 MB / 0.746 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.5701, allocations: 1.145 MB / 0.7472 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.5722, allocations: 0.6519 MB / 0.7478 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006557/0.5729, allocations: 0.5701 MB / 0.7484 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.5731, allocations: 123.9 kB / 0.7485 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.575, allocations: 0.9947 MB / 0.7494 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003807/0.5754, allocations: 354.9 kB / 0.7498 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006377/0.576, allocations: 0.6062 MB / 0.7504 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3585/0.9345, allocations: 1.52 MB / 0.7519 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.9346, allocations: 0 / 0.7519 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9346, allocations: 0.6562 kB / 0.7519 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.834e-05/0.9346, allocations: 0 / 0.7519 GB, free: 6.133 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.003459/0.9381, allocations: 1.593 MB / 0.7534 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.9381, allocations: 11.33 kB / 0.7534 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.9401, allocations: 259.8 kB / 0.7537 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.9416, allocations: 0.8424 MB / 0.7545 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.9416, allocations: 74.69 kB / 0.7546 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.9418, allocations: 85.91 kB / 0.7547 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.9436, allocations: 1.046 MB / 0.7557 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.9436, allocations: 0 / 0.7557 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.885e-05/0.9438, allocations: 44.56 kB / 0.7557 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.9438, allocations: 25.44 kB / 0.7557 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.9459, allocations: 1.268 MB / 0.757 GB, free: 4.781 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.005381/0.9513, allocations: 3.067 MB / 0.76 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.9533, allocations: 1.013 MB / 0.761 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007399/0.9541, allocations: 394.4 kB / 0.7613 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.9543, allocations: 138.4 kB / 0.7615 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.9555, allocations: 0.5447 MB / 0.762 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=86): time 2.615e-06/0.9555, allocations: 1.531 kB / 0.762 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86): time 0.004265/0.9598, allocations: 1.502 MB / 0.7635 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.9599, allocations: 192.5 kB / 0.7637 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.9612, allocations: 0.7573 MB / 0.7644 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.9613, allocations: 42.7 kB / 0.7644 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.9616, allocations: 449.1 kB / 0.7649 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.9618, allocations: 293 kB / 0.7651 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.9621, allocations: 169.4 kB / 0.7653 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.9622, allocations: 334.5 kB / 0.7656 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/0.9628, allocations: 324.9 kB / 0.7659 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/0.9635, allocations: 439.2 kB / 0.7664 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.9649, allocations: 0.7334 MB / 0.7671 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.9649, allocations: 0.5938 kB / 0.7671 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002529/0.9674, allocations: 1.007 MB / 0.7681 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.9675, allocations: 6.641 kB / 0.7681 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.9675, allocations: 3 kB / 0.7681 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007959/0.9683, allocations: 115.7 kB / 0.7682 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.9692, allocations: 198.6 kB / 0.7684 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.9724, allocations: 3.054 MB / 0.7713 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.9735, allocations: 110.8 kB / 0.7714 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/0.9736, allocations: 36.94 kB / 0.7715 GB, free: 15.07 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.0006164/0.9742, allocations: 291.9 kB / 0.7718 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.9744, allocations: 102 kB / 0.7719 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.9769, allocations: 1.211 MB / 0.773 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.9769, allocations: 10.52 kB / 0.7731 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.977, allocations: 0 / 0.7731 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.977, allocations: 8.781 kB / 0.7731 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/0.9806, allocations: 2.243 MB / 0.7753 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.9807, allocations: 48 / 0.7753 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.9814, allocations: 196.4 kB / 0.7754 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000536/0.982, allocations: 102.9 kB / 0.7755 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.982, allocations: 21.97 kB / 0.7756 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.9849, allocations: 3.104 MB / 0.7786 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9849, allocations: 0.9688 kB / 0.7786 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.9872, allocations: 1.136 MB / 0.7797 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.9876, allocations: 298.8 kB / 0.78 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.9878, allocations: 19.94 kB / 0.78 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.9885, allocations: 77.41 kB / 0.7801 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.9887, allocations: 68.7 kB / 0.7801 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/0.9888, allocations: 36.77 kB / 0.7802 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006373/0.9894, allocations: 0.5425 MB / 0.7807 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9894, allocations: 0 / 0.7807 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001185/0.9906, allocations: 427.4 kB / 0.7811 GB, free: 11.1 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.002357/0.993, allocations: 0.7092 MB / 0.7818 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00315/0.9961, allocations: 1.284 MB / 0.7831 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.9962, allocations: 4.766 kB / 0.7831 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.9973, allocations: 0.7005 MB / 0.7838 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.999, allocations: 342.1 kB / 0.7841 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/1.003, allocations: 2.502 MB / 0.7865 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/1.004, allocations: 1.069 MB / 0.7876 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/1.004, allocations: 124.4 kB / 0.7877 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/1.004, allocations: 0 / 0.7877 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of Templates: time 0.03252/1.037, allocations: 25.61 MB / 0.8127 GB, free: 15.93 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++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