Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008426/0.0008425, allocations: 98.8 kB / 16.02 MB, free: 76 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.001082/0.001082, allocations: 186 kB / 16.92 MB, free: 6.75 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9438/0.9438, allocations: 135.3 MB / 427.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.000309, allocations: 9.281 kB / 0.5082 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1715, allocations: 82.3 MB / 0.5886 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5299/0.7015, allocations: 162.4 MB / 0.7472 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02129/0.7229, allocations: 16.92 MB / 0.7637 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.7245, allocations: 27.59 kB / 0.7638 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.7261, allocations: 446.9 kB / 0.7642 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.7306, allocations: 1.468 MB / 0.7656 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.7342, allocations: 1.23 MB / 0.7668 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003922/0.7381, allocations: 2.767 MB / 0.7695 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.7409, allocations: 1.686 MB / 0.7712 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004962/0.7459, allocations: 1.031 MB / 0.7722 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.7473, allocations: 0.8201 MB / 0.773 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002307/0.7475, allocations: 44 kB / 0.773 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.7507, allocations: 1.509 MB / 0.7745 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005687/0.7513, allocations: 0.5604 MB / 0.775 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.7523, allocations: 0.9216 MB / 0.7759 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003241/0.7556, allocations: 2.463 MB / 0.7783 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7556, allocations: 0 / 0.7783 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7556, allocations: 0 / 0.7783 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.065e-05/0.7557, allocations: 3.938 kB / 0.7783 GB, free: 10.26 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.003854/0.7595, allocations: 2.181 MB / 0.7805 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7596, allocations: 12.03 kB / 0.7805 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003705/0.7633, allocations: 0.5513 MB / 0.781 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.7658, allocations: 1.553 MB / 0.7825 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.7659, allocations: 123.3 kB / 0.7827 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.7661, allocations: 172 kB / 0.7828 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00327/0.7694, allocations: 1.881 MB / 0.7847 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.7694, allocations: 0 / 0.7847 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.7696, allocations: 68 kB / 0.7847 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.7696, allocations: 40 kB / 0.7848 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/0.7731, allocations: 2.05 MB / 0.7868 GB, free: 1.465 MB / 0.5919 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.009081/0.7822, allocations: 5.592 MB / 0.7922 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003181/0.7854, allocations: 2.008 MB / 0.7942 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.7866, allocations: 0.7335 MB / 0.7949 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006013/0.7873, allocations: 437.7 kB / 0.7953 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/0.7889, allocations: 0.9348 MB / 0.7962 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.135e-06/0.7889, allocations: 0 / 0.7962 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006661/0.7956, allocations: 2.848 MB / 0.799 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.7957, allocations: 201.2 kB / 0.7992 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.7982, allocations: 1.742 MB / 0.8009 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002289/0.7984, allocations: 53.7 kB / 0.801 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007993/0.7993, allocations: 0.8111 MB / 0.8018 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/0.7997, allocations: 461.3 kB / 0.8022 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.7999, allocations: 97.67 kB / 0.8023 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8001, allocations: 353.9 kB / 0.8026 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.8012, allocations: 0.5647 MB / 0.8032 GB, free: 28 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.8024, allocations: 0.7623 MB / 0.8039 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.8047, allocations: 1.29 MB / 0.8052 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.8048, allocations: 4 kB / 0.8052 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003806/0.8086, allocations: 1.733 MB / 0.8069 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.8086, allocations: 10.64 kB / 0.8069 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.8086, allocations: 0 / 0.8069 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.8097, allocations: 220.2 kB / 0.8071 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.8112, allocations: 311.6 kB / 0.8074 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005929/0.8172, allocations: 6.807 MB / 0.814 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.8191, allocations: 170.8 kB / 0.8142 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.8192, allocations: 55.97 kB / 0.8143 GB, free: 3.91 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 (140): * Single equations (assignments): 135 * 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.001083/0.8203, allocations: 473.4 kB / 0.8147 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004121/0.8207, allocations: 173.9 kB / 0.8149 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/0.8251, allocations: 2.034 MB / 0.8169 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.8252, allocations: 12 kB / 0.8169 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.8252, allocations: 7.938 kB / 0.8169 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.8252, allocations: 7.969 kB / 0.8169 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006706/0.8319, allocations: 3.8 MB / 0.8206 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/0.832, allocations: 0 / 0.8206 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.8334, allocations: 315.6 kB / 0.8209 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009763/0.8344, allocations: 216.1 kB / 0.8211 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.8345, allocations: 39.97 kB / 0.8211 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005616/0.8401, allocations: 6.836 MB / 0.8278 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8401, allocations: 0 / 0.8278 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004012/0.8442, allocations: 1.908 MB / 0.8297 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009031/0.8451, allocations: 474.3 kB / 0.8301 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.8453, allocations: 28 kB / 0.8302 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.8466, allocations: 125.7 kB / 0.8303 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.8468, allocations: 101.2 kB / 0.8304 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.847, allocations: 67.89 kB / 0.8304 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001623/0.8486, allocations: 1.252 MB / 0.8317 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8486, allocations: 0 / 0.8317 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001716/0.8503, allocations: 0.639 MB / 0.8323 GB, free: 0.5859 MB / 0.6387 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.001694/0.852, allocations: 0.7462 MB / 0.833 GB, free: 56 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003435/0.8555, allocations: 2.004 MB / 0.835 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.8555, allocations: 4.797 kB / 0.835 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.8575, allocations: 1.376 MB / 0.8363 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.8602, allocations: 0.4899 MB / 0.8368 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00731/0.8675, allocations: 4.508 MB / 0.8412 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.8686, allocations: 1.462 MB / 0.8426 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006735/0.8693, allocations: 183.3 kB / 0.8428 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of SimCode: time 1.082e-06/0.8693, allocations: 0 / 0.8428 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.3455/1.215, allocations: 63.79 MB / 0.9051 GB, free: 202.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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_CpDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpDataFunctions.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_CpDataCalcHelperMain.o] Error 1