Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sources.Examples.Outside") translateModel(IDEAS.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00113/0.00113, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.001166/0.001166, allocations: 182.3 kB / 17.34 MB, free: 5.629 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8153/0.8153, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 58.81 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1608, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.6544/0.8152, allocations: 175.8 MB / 0.832 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01472/0.83, allocations: 10.77 MB / 0.8425 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.8319, allocations: 32.41 kB / 0.8425 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.8333, allocations: 397.6 kB / 0.8429 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003918/0.8373, allocations: 1.044 MB / 0.8439 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004527/0.8418, allocations: 1.68 MB / 0.8456 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002982/0.8448, allocations: 2.171 MB / 0.8477 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.8467, allocations: 1.386 MB / 0.849 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003247/0.85, allocations: 1.246 MB / 0.8502 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.851, allocations: 0.7353 MB / 0.851 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.8512, allocations: 142.8 kB / 0.8511 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.8541, allocations: 1.404 MB / 0.8525 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.8545, allocations: 417.9 kB / 0.8529 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007587/0.8553, allocations: 0.7178 MB / 0.8536 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.859, allocations: 2.436 MB / 0.856 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8591, allocations: 4 kB / 0.856 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8591, allocations: 0 / 0.856 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.8591, allocations: 0 / 0.856 GB, free: 13.25 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.002981/0.8621, allocations: 1.774 MB / 0.8577 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.8622, allocations: 12.03 kB / 0.8577 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.8643, allocations: 345.9 kB / 0.858 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.8658, allocations: 0.9525 MB / 0.859 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/0.8659, allocations: 82.22 kB / 0.859 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.8661, allocations: 115.9 kB / 0.8591 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.8682, allocations: 1.23 MB / 0.8604 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.8682, allocations: 0 / 0.8604 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.8683, allocations: 48 kB / 0.8604 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.8684, allocations: 28 kB / 0.8604 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.8706, allocations: 1.402 MB / 0.8618 GB, free: 7.492 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.005821/0.8765, allocations: 3.67 MB / 0.8654 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.8784, allocations: 1.114 MB / 0.8665 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007033/0.8792, allocations: 434.5 kB / 0.8669 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007301/0.8799, allocations: 417.4 kB / 0.8673 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.8809, allocations: 0.5865 MB / 0.8678 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=97): time 2.374e-06/0.8809, allocations: 0 / 0.8678 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97): time 0.003884/0.8848, allocations: 1.485 MB / 0.8693 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.91e-05/0.885, allocations: 192.9 kB / 0.8695 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.8861, allocations: 0.8435 MB / 0.8703 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.957e-05/0.8862, allocations: 45.7 kB / 0.8703 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.8866, allocations: 0.4925 MB / 0.8708 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.8869, allocations: 331.2 kB / 0.8711 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/0.8873, allocations: 194.5 kB / 0.8713 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8874, allocations: 337.9 kB / 0.8717 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00072/0.8881, allocations: 357.7 kB / 0.872 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008483/0.889, allocations: 473.6 kB / 0.8724 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.8905, allocations: 0.8094 MB / 0.8732 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.8905, allocations: 7.938 kB / 0.8732 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002599/0.8931, allocations: 1.087 MB / 0.8743 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.8932, allocations: 10.66 kB / 0.8743 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8932, allocations: 0 / 0.8743 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.8938, allocations: 88.8 kB / 0.8744 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.8948, allocations: 216.5 kB / 0.8746 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.8972, allocations: 1.653 MB / 0.8762 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.8983, allocations: 113.1 kB / 0.8763 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.8985, allocations: 43.97 kB / 0.8764 GB, free: 7.961 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.0008553/0.8993, allocations: 311.5 kB / 0.8767 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.8997, allocations: 114.5 kB / 0.8768 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/0.903, allocations: 1.407 MB / 0.8782 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.9031, allocations: 8 kB / 0.8782 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9031, allocations: 0 / 0.8782 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.9031, allocations: 3.984 kB / 0.8782 GB, free: 6.094 MB / 0.6387 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.005137/0.9082, allocations: 2.651 MB / 0.8808 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.9082, allocations: 0 / 0.8808 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/0.9091, allocations: 195.7 kB / 0.8809 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.9096, allocations: 84.97 kB / 0.881 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.9097, allocations: 23.98 kB / 0.881 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.9116, allocations: 1.686 MB / 0.8827 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9117, allocations: 0 / 0.8827 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003332/0.915, allocations: 1.717 MB / 0.8844 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/0.9156, allocations: 323.4 kB / 0.8847 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.9159, allocations: 23.98 kB / 0.8847 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009235/0.9168, allocations: 64.17 kB / 0.8848 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.917, allocations: 76.89 kB / 0.8848 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.479e-05/0.9171, allocations: 47.91 kB / 0.8849 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009411/0.9181, allocations: 0.5975 MB / 0.8855 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.674e-06/0.9181, allocations: 0 / 0.8855 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001334/0.9194, allocations: 427 kB / 0.8859 GB, free: 13.88 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.002014/0.9214, allocations: 0.6955 MB / 0.8865 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002469/0.9239, allocations: 1.019 MB / 0.8875 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.9239, allocations: 0 / 0.8875 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.9252, allocations: 0.6099 MB / 0.8881 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/0.928, allocations: 0.5085 MB / 0.8886 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/0.9339, allocations: 2.417 MB / 0.891 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009265/0.9349, allocations: 1.13 MB / 0.8921 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/0.9355, allocations: 155.3 kB / 0.8922 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of SimCode: time 9.82e-07/0.9355, allocations: 0 / 0.8922 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of Templates: time 0.0438/0.9793, allocations: 25.47 MB / 0.9171 GB, free: 14.09 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.OutsideCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.OutsideCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Fluid.Sources.Examples.OutsideCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Fluid.Sources.Examples.OutsideFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sources.Examples.OutsideCalcHelperMain.o] Error 1