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.001327/0.001327, allocations: 107.5 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.001319/0.001319, 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8004/0.8004, allocations: 135.2 MB / 426.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001889, allocations: 71.88 kB / 0.506 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3424, allocations: 80.91 MB / 0.5851 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.5081/0.8505, allocations: 175.8 MB / 0.7567 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.8635, allocations: 10.77 MB / 0.7672 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.8647, allocations: 33.53 kB / 0.7672 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.8658, allocations: 390.7 kB / 0.7676 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.869, allocations: 1.018 MB / 0.7686 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004604/0.8736, allocations: 1.649 MB / 0.7702 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003083/0.8767, allocations: 2.162 MB / 0.7723 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.8787, allocations: 1.395 MB / 0.7737 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.882, allocations: 1.202 MB / 0.7749 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.8831, allocations: 0.7393 MB / 0.7756 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002872/0.8834, allocations: 142.8 kB / 0.7757 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.8865, allocations: 1.372 MB / 0.7771 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/0.8868, allocations: 420 kB / 0.7775 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007449/0.8876, allocations: 0.7225 MB / 0.7782 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.8905, allocations: 2.381 MB / 0.7805 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8905, allocations: 0 / 0.7805 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8905, allocations: 0.9062 kB / 0.7805 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.8905, allocations: 0 / 0.7805 GB, free: 1.051 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.002673/0.8932, allocations: 1.773 MB / 0.7822 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.8933, allocations: 12.3 kB / 0.7822 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.8952, allocations: 349.7 kB / 0.7826 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.8964, allocations: 0.9055 MB / 0.7835 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/0.8965, allocations: 86.16 kB / 0.7835 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.8966, allocations: 109.1 kB / 0.7836 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.8984, allocations: 1.235 MB / 0.7848 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.8984, allocations: 3.281 kB / 0.7849 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.8985, allocations: 45.81 kB / 0.7849 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.8985, allocations: 26.91 kB / 0.7849 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.9004, allocations: 1.399 MB / 0.7863 GB, free: 15.52 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.005241/0.9057, allocations: 3.712 MB / 0.7899 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.9075, allocations: 1.13 MB / 0.791 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/0.9081, allocations: 419.2 kB / 0.7914 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/0.9088, allocations: 427.2 kB / 0.7918 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009094/0.9097, allocations: 0.5874 MB / 0.7924 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=97): time 2.785e-06/0.9097, allocations: 0.9688 kB / 0.7924 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=97): time 0.003515/0.9133, allocations: 1.479 MB / 0.7938 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.9134, allocations: 200.2 kB / 0.794 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009525/0.9144, allocations: 0.8433 MB / 0.7949 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.237e-05/0.9145, allocations: 45.42 kB / 0.7949 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.9148, allocations: 0.491 MB / 0.7954 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.9151, allocations: 330.5 kB / 0.7957 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.9154, allocations: 198.2 kB / 0.7959 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9155, allocations: 345.1 kB / 0.7962 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.9161, allocations: 348.6 kB / 0.7965 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007003/0.9168, allocations: 482.3 kB / 0.797 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.9181, allocations: 0.8148 MB / 0.7978 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.9182, allocations: 0 / 0.7978 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002213/0.9204, allocations: 1.085 MB / 0.7989 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.9204, allocations: 8.062 kB / 0.7989 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.9204, allocations: 4.344 kB / 0.7989 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.921, allocations: 81.97 kB / 0.799 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/0.9219, allocations: 218.2 kB / 0.7992 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.924, allocations: 1.646 MB / 0.8008 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/0.9249, allocations: 116.5 kB / 0.8009 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/0.925, allocations: 49.16 kB / 0.8009 GB, free: 10.58 MB / 0.5919 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.0005036/0.9255, allocations: 303.5 kB / 0.8012 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.9257, allocations: 116.9 kB / 0.8013 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.9284, allocations: 1.395 MB / 0.8027 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.9284, allocations: 14.97 kB / 0.8027 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.9284, allocations: 0 / 0.8027 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.9284, allocations: 7.234 kB / 0.8027 GB, free: 10.27 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 postOpt removeSimpleEquations (simulation): time 0.0041/0.9325, allocations: 2.651 MB / 0.8053 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9325, allocations: 2.094 kB / 0.8053 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.9333, allocations: 194.5 kB / 0.8055 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/0.9338, allocations: 78.22 kB / 0.8056 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/0.9338, allocations: 29.83 kB / 0.8056 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.9357, allocations: 1.683 MB / 0.8072 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9357, allocations: 5.312 kB / 0.8072 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.9386, allocations: 1.718 MB / 0.8089 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.9392, allocations: 323 kB / 0.8092 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.9393, allocations: 25 kB / 0.8092 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/0.94, allocations: 64.33 kB / 0.8093 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.9402, allocations: 86.28 kB / 0.8094 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.332e-05/0.9403, allocations: 39.5 kB / 0.8094 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007503/0.941, allocations: 0.5934 MB / 0.81 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.941, allocations: 0.75 kB / 0.81 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001091/0.9421, allocations: 421.8 kB / 0.8104 GB, free: 7.664 MB / 0.5919 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.002055/0.9442, allocations: 0.6973 MB / 0.8111 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002877/0.9471, allocations: 1.262 MB / 0.8123 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.9471, allocations: 8.078 kB / 0.8123 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.9482, allocations: 0.6102 MB / 0.8129 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.9504, allocations: 0.5149 MB / 0.8134 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.955, allocations: 2.447 MB / 0.8158 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007053/0.9558, allocations: 1.136 MB / 0.8169 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/0.9562, allocations: 139.7 kB / 0.8171 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.9562, allocations: 0 / 0.8171 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of Templates: time 0.03387/0.9901, allocations: 25.34 MB / 0.8418 GB, free: 14.32 MB / 0.6231 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++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.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