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.001397/0.001397, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.001288/0.001288, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.338/1.338, 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.7924/0.7924, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 62.97 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1506, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.5298/0.6805, allocations: 175.8 MB / 0.837 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.695, allocations: 10.75 MB / 0.8475 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.6963, allocations: 32.28 kB / 0.8475 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.6974, allocations: 398.6 kB / 0.8479 GB, free: 304 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.7003, allocations: 1.044 MB / 0.8489 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.7041, allocations: 1.68 MB / 0.8505 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.7065, allocations: 2.171 MB / 0.8526 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.7082, allocations: 1.391 MB / 0.854 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/0.7111, allocations: 1.248 MB / 0.8552 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008341/0.712, allocations: 0.7418 MB / 0.8559 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.7121, allocations: 140.7 kB / 0.8561 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.7146, allocations: 1.406 MB / 0.8575 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.715, allocations: 418.5 kB / 0.8579 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006661/0.7156, allocations: 0.7214 MB / 0.8586 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003355/0.719, allocations: 2.436 MB / 0.8609 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.719, allocations: 0 / 0.8609 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.765e-06/0.719, allocations: 3.984 kB / 0.8609 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.7191, allocations: 4 kB / 0.8609 GB, free: 7.027 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.002753/0.7218, allocations: 1.768 MB / 0.8627 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.7219, allocations: 9.109 kB / 0.8627 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.724, allocations: 342 kB / 0.863 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.7254, allocations: 0.9525 MB / 0.8639 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.7254, allocations: 82.23 kB / 0.864 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.7256, allocations: 116 kB / 0.8641 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.7277, allocations: 1.234 MB / 0.8653 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.7277, allocations: 0 / 0.8653 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.7278, allocations: 52 kB / 0.8654 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.7279, allocations: 28 kB / 0.8654 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.7301, allocations: 1.393 MB / 0.8668 GB, free: 0.8906 MB / 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.005529/0.7356, allocations: 3.67 MB / 0.8703 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.7376, allocations: 1.118 MB / 0.8714 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007088/0.7383, allocations: 423.7 kB / 0.8718 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007225/0.7391, allocations: 429.3 kB / 0.8723 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.7401, allocations: 0.5826 MB / 0.8728 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=97): time 2.214e-06/0.7401, allocations: 3.938 kB / 0.8728 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=97): time 0.003767/0.7439, allocations: 1.485 MB / 0.8743 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.744, allocations: 188.9 kB / 0.8745 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.7451, allocations: 0.8436 MB / 0.8753 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-05/0.7452, allocations: 45.7 kB / 0.8753 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.7455, allocations: 0.4886 MB / 0.8758 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.7458, allocations: 339.1 kB / 0.8761 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.7461, allocations: 198.5 kB / 0.8763 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7462, allocations: 338 kB / 0.8766 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.7469, allocations: 349.8 kB / 0.877 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007868/0.7477, allocations: 473.6 kB / 0.8774 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.7491, allocations: 0.8172 MB / 0.8782 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.7492, allocations: 3.938 kB / 0.8782 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002369/0.7515, allocations: 1.09 MB / 0.8793 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.7516, allocations: 4 kB / 0.8793 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7516, allocations: 4 kB / 0.8793 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/0.7522, allocations: 80.88 kB / 0.8794 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009127/0.7531, allocations: 219.7 kB / 0.8796 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.7553, allocations: 1.643 MB / 0.8812 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008938/0.7562, allocations: 111 kB / 0.8813 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.7563, allocations: 43.97 kB / 0.8813 GB, free: 1.355 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.0005557/0.7569, allocations: 309.7 kB / 0.8816 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.7572, allocations: 122.5 kB / 0.8817 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.7601, allocations: 1.393 MB / 0.8831 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.7601, allocations: 12 kB / 0.8831 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7601, allocations: 4 kB / 0.8831 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.7601, allocations: 7.969 kB / 0.8831 GB, free: 15.48 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.004565/0.7647, allocations: 2.647 MB / 0.8857 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.7647, allocations: 0 / 0.8857 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008824/0.7656, allocations: 199.7 kB / 0.8859 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004502/0.7661, allocations: 72.86 kB / 0.886 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.762e-05/0.7662, allocations: 31.97 kB / 0.886 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.7681, allocations: 1.681 MB / 0.8876 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7682, allocations: 144 / 0.8876 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.7714, allocations: 1.729 MB / 0.8893 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.7719, allocations: 323.5 kB / 0.8896 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.7721, allocations: 27.98 kB / 0.8897 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/0.7729, allocations: 55.94 kB / 0.8897 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.7731, allocations: 76.89 kB / 0.8898 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-05/0.7732, allocations: 51.84 kB / 0.8898 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008418/0.774, allocations: 0.6014 MB / 0.8904 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7741, allocations: 0 / 0.8904 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001147/0.7752, allocations: 423.1 kB / 0.8908 GB, free: 7.266 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.001582/0.7768, allocations: 0.6943 MB / 0.8915 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002112/0.7789, allocations: 1.027 MB / 0.8925 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7789, allocations: 3.938 kB / 0.8925 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.78, allocations: 0.5983 MB / 0.8931 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.7822, allocations: 0.5125 MB / 0.8936 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.7871, allocations: 2.417 MB / 0.896 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/0.7879, allocations: 1.134 MB / 0.8971 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.7883, allocations: 139.4 kB / 0.8972 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.7883, allocations: 4 kB / 0.8972 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of Templates: time 0.03508/0.8234, allocations: 25.46 MB / 0.9221 GB, free: 7.453 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