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.001513/0.001513, allocations: 107.9 kB / 16.41 MB, free: 6.02 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.001623/0.001623, allocations: 186.1 kB / 17.34 MB, free: 5.625 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8471/0.8471, allocations: 135.2 MB / 426.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.75 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.186, allocations: 80.94 MB / 0.6654 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.662/0.848, allocations: 176.2 MB / 0.8375 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01779/0.8658, allocations: 10.79 MB / 0.848 GB, free: 120 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.8678, allocations: 32.62 kB / 0.848 GB, free: 108 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.8693, allocations: 399.2 kB / 0.8484 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004254/0.8735, allocations: 1.04 MB / 0.8494 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.8785, allocations: 1.683 MB / 0.8511 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003801/0.8823, allocations: 2.161 MB / 0.8532 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.8845, allocations: 1.15 MB / 0.8543 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00408/0.8886, allocations: 1.245 MB / 0.8555 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.8901, allocations: 0.7424 MB / 0.8562 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.8903, allocations: 141.8 kB / 0.8564 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.8937, allocations: 1.403 MB / 0.8577 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004671/0.8942, allocations: 427.6 kB / 0.8582 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009187/0.8951, allocations: 0.7116 MB / 0.8588 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004952/0.9001, allocations: 2.449 MB / 0.8612 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.9001, allocations: 7.938 kB / 0.8612 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9001, allocations: 0 / 0.8612 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.555e-05/0.9001, allocations: 0 / 0.8612 GB, free: 6.664 MB / 0.6231 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.00357/0.9037, allocations: 1.816 MB / 0.863 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.9037, allocations: 13.09 kB / 0.863 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.9059, allocations: 346.8 kB / 0.8634 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.9076, allocations: 0.961 MB / 0.8643 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.9077, allocations: 86.17 kB / 0.8644 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.9079, allocations: 108 kB / 0.8645 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.9102, allocations: 1.238 MB / 0.8657 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.9103, allocations: 4 kB / 0.8657 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.9104, allocations: 48.88 kB / 0.8657 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.9104, allocations: 28 kB / 0.8658 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.9128, allocations: 1.394 MB / 0.8671 GB, free: 468 kB / 0.6231 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.006396/0.9192, allocations: 3.683 MB / 0.8707 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.9214, allocations: 1.061 MB / 0.8718 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/0.9221, allocations: 393.7 kB / 0.8721 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007987/0.9229, allocations: 421.4 kB / 0.8725 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/0.9241, allocations: 0.5864 MB / 0.8731 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=97): time 2.815e-06/0.9241, allocations: 4 kB / 0.8731 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=97): time 0.004182/0.9283, allocations: 1.493 MB / 0.8746 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.9285, allocations: 188.9 kB / 0.8748 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.9298, allocations: 0.8397 MB / 0.8756 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.9299, allocations: 45.64 kB / 0.8756 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/0.9304, allocations: 0.505 MB / 0.8761 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.9307, allocations: 349 kB / 0.8764 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.9311, allocations: 202.5 kB / 0.8766 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.9313, allocations: 337.9 kB / 0.877 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007241/0.932, allocations: 353.7 kB / 0.8773 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008639/0.9329, allocations: 476.6 kB / 0.8778 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.9344, allocations: 0.8172 MB / 0.8786 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.9344, allocations: 3.938 kB / 0.8786 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002588/0.937, allocations: 1.087 MB / 0.8796 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.937, allocations: 12.09 kB / 0.8796 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.9371, allocations: 4 kB / 0.8796 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/0.9376, allocations: 80.78 kB / 0.8797 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009156/0.9386, allocations: 219.7 kB / 0.8799 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.9409, allocations: 1.646 MB / 0.8815 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009822/0.9419, allocations: 111.2 kB / 0.8816 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/0.942, allocations: 47.97 kB / 0.8817 GB, free: 0.9609 MB / 0.6387 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.0006249/0.9426, allocations: 301.6 kB / 0.882 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.9429, allocations: 123.2 kB / 0.8821 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/0.9459, allocations: 1.397 MB / 0.8834 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.9459, allocations: 12 kB / 0.8835 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.9459, allocations: 0 / 0.8835 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.9459, allocations: 7.969 kB / 0.8835 GB, free: 15.1 MB / 0.6544 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.004872/0.9508, allocations: 2.659 MB / 0.8861 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.9508, allocations: 4 kB / 0.8861 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008752/0.9517, allocations: 195.9 kB / 0.8863 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/0.9521, allocations: 76.78 kB / 0.8863 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.261e-05/0.9522, allocations: 31.98 kB / 0.8864 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.9543, allocations: 1.677 MB / 0.888 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9543, allocations: 0 / 0.888 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003685/0.958, allocations: 1.726 MB / 0.8897 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008554/0.9588, allocations: 328 kB / 0.89 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.959, allocations: 24 kB / 0.89 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/0.9598, allocations: 69.03 kB / 0.8901 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.96, allocations: 76.89 kB / 0.8902 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.96e-05/0.9601, allocations: 51.97 kB / 0.8902 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00101/0.9612, allocations: 0.5936 MB / 0.8908 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.9612, allocations: 0 / 0.8908 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001327/0.9625, allocations: 430.9 kB / 0.8912 GB, free: 6.863 MB / 0.6544 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.002236/0.9647, allocations: 0.7108 MB / 0.8919 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00232/0.967, allocations: 0.9875 MB / 0.8929 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.967, allocations: 0 / 0.8929 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.9683, allocations: 0.567 MB / 0.8934 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.9707, allocations: 0.502 MB / 0.8939 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/0.9761, allocations: 2.456 MB / 0.8963 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/0.977, allocations: 1.138 MB / 0.8974 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/0.9775, allocations: 135.4 kB / 0.8975 GB, free: 472 kB / 0.6544 GB Notification: Performance of SimCode: time 1.142e-06/0.9775, allocations: 0 / 0.8975 GB, free: 472 kB / 0.6544 GB Notification: Performance of Templates: time 0.04006/1.018, allocations: 25.54 MB / 0.9225 GB, free: 7.004 MB / 0.6856 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