Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside") translateModel(IDEAS.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000832/0.0008322, allocations: 99.11 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.0008828/0.0008828, allocations: 180.9 kB / 16.92 MB, free: 6.918 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9498/0.9498, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003715, allocations: 8.625 kB / 0.5082 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1722, allocations: 82.3 MB / 0.5886 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.465/0.6372, allocations: 171.2 MB / 0.7558 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.6519, allocations: 10.63 MB / 0.7662 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.6535, allocations: 27.81 kB / 0.7662 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.6547, allocations: 325.9 kB / 0.7665 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.6581, allocations: 0.903 MB / 0.7674 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004854/0.663, allocations: 1.498 MB / 0.7688 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003517/0.6666, allocations: 2.463 MB / 0.7712 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.6685, allocations: 1.204 MB / 0.7724 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003869/0.6724, allocations: 1.003 MB / 0.7734 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.6735, allocations: 0.6258 MB / 0.774 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.6736, allocations: 40 kB / 0.774 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.6768, allocations: 1.419 MB / 0.7754 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004506/0.6772, allocations: 294.8 kB / 0.7757 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007768/0.678, allocations: 0.6074 MB / 0.7763 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.6805, allocations: 1.746 MB / 0.778 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6805, allocations: 0 / 0.778 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.786e-06/0.6805, allocations: 0 / 0.778 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.6806, allocations: 4 kB / 0.778 GB, free: 10.55 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.002795/0.6834, allocations: 1.482 MB / 0.7795 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.6834, allocations: 8.031 kB / 0.7795 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/0.6855, allocations: 361.8 kB / 0.7798 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.6869, allocations: 0.9057 MB / 0.7807 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.398e-05/0.687, allocations: 86.23 kB / 0.7808 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.6872, allocations: 108 kB / 0.7809 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.6893, allocations: 1.238 MB / 0.7821 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.6893, allocations: 0 / 0.7821 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.6895, allocations: 51.98 kB / 0.7821 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.6895, allocations: 24 kB / 0.7822 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.6918, allocations: 1.41 MB / 0.7835 GB, free: 4.711 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.006304/0.6981, allocations: 3.746 MB / 0.7872 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.7001, allocations: 1.127 MB / 0.7883 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007449/0.7009, allocations: 427.6 kB / 0.7887 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007989/0.7017, allocations: 441.3 kB / 0.7891 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.7028, allocations: 0.5895 MB / 0.7897 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=97): time 4.598e-06/0.7028, allocations: 0 / 0.7897 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97): time 0.003864/0.7067, allocations: 1.497 MB / 0.7912 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.7068, allocations: 196.9 kB / 0.7914 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.708, allocations: 0.8396 MB / 0.7922 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.7081, allocations: 49.7 kB / 0.7922 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.7086, allocations: 0.4925 MB / 0.7927 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.7089, allocations: 331.2 kB / 0.793 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.709, allocations: 77.67 kB / 0.7931 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7092, allocations: 349.8 kB / 0.7934 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000705/0.7099, allocations: 353.8 kB / 0.7938 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008085/0.7107, allocations: 481.6 kB / 0.7942 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.7122, allocations: 0.8211 MB / 0.795 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7122, allocations: 4 kB / 0.795 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002472/0.7147, allocations: 1.098 MB / 0.7961 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.7147, allocations: 8 kB / 0.7961 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.7147, allocations: 0 / 0.7961 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/0.7153, allocations: 88.86 kB / 0.7962 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009114/0.7163, allocations: 215.7 kB / 0.7964 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.7184, allocations: 1.543 MB / 0.7979 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.7195, allocations: 129.5 kB / 0.798 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.722e-05/0.7196, allocations: 47.97 kB / 0.7981 GB, free: 5.246 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006669/0.7203, allocations: 309.8 kB / 0.7984 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.7205, allocations: 114.6 kB / 0.7985 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.7235, allocations: 1.404 MB / 0.7998 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.7235, allocations: 12 kB / 0.7999 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.7235, allocations: 0 / 0.7999 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.7235, allocations: 7.984 kB / 0.7999 GB, free: 3.371 MB / 0.6075 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 postOpt removeSimpleEquations (simulation): time 0.004488/0.728, allocations: 2.646 MB / 0.8025 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.7281, allocations: 3.938 kB / 0.8025 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008696/0.7289, allocations: 199.7 kB / 0.8026 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/0.7295, allocations: 88.95 kB / 0.8027 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.542e-05/0.7296, allocations: 23.98 kB / 0.8028 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.7315, allocations: 1.575 MB / 0.8043 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7316, allocations: 4 kB / 0.8043 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003428/0.735, allocations: 1.731 MB / 0.806 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006622/0.7357, allocations: 343.2 kB / 0.8063 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.7359, allocations: 24 kB / 0.8063 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009712/0.7369, allocations: 94.36 kB / 0.8064 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.7371, allocations: 72.89 kB / 0.8065 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.921e-05/0.7372, allocations: 47.92 kB / 0.8065 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001068/0.7383, allocations: 0.6014 MB / 0.8071 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7383, allocations: 0 / 0.8071 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001513/0.7398, allocations: 419.2 kB / 0.8075 GB, free: 11.21 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002052/0.7419, allocations: 0.697 MB / 0.8082 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.7444, allocations: 1.019 MB / 0.8092 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.7444, allocations: 4 kB / 0.8092 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.7456, allocations: 0.6138 MB / 0.8098 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/0.7488, allocations: 485.6 kB / 0.8103 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00626/0.7551, allocations: 3.055 MB / 0.8133 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008641/0.756, allocations: 1.131 MB / 0.8144 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005651/0.7566, allocations: 143.4 kB / 0.8145 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.7566, allocations: 4 kB / 0.8145 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of Templates: time 0.03697/0.7936, allocations: 25.17 MB / 0.8391 GB, free: 11.12 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.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.OutsideCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideFunctions.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.OutsideCalcHelperMain.o] Error 1