Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009056/0.0009056, allocations: 99.91 kB / 15.71 MB, free: 440 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.001364/0.001364, allocations: 172.2 kB / 16.58 MB, free: 6.422 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.574/1.574, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.595/2.595, allocations: 390.4 MB / 0.6662 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003826, allocations: 12 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8795/0.8799, allocations: 142.3 MB / 0.9544 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.236/1.116, allocations: 180.2 MB / 1.13 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01605/1.132, allocations: 10.16 MB / 1.14 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/1.134, allocations: 43.69 kB / 1.14 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/1.136, allocations: 373.5 kB / 1.141 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00468/1.141, allocations: 1.322 MB / 1.142 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00312/1.144, allocations: 0.882 MB / 1.143 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004928/1.149, allocations: 3.181 MB / 1.146 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/1.15, allocations: 0.8809 MB / 1.147 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/1.154, allocations: 1.233 MB / 1.148 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/1.156, allocations: 0.8911 MB / 1.149 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/1.156, allocations: 56 kB / 1.149 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/1.16, allocations: 1.029 MB / 1.15 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006307/1.16, allocations: 450.6 kB / 1.15 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000559/1.161, allocations: 277 kB / 1.151 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/1.163, allocations: 1.617 MB / 1.152 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/1.163, allocations: 4 kB / 1.152 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.585e-06/1.163, allocations: 0 / 1.152 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.514e-05/1.163, allocations: 0 / 1.152 GB, free: 5.094 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002647/1.166, allocations: 1.462 MB / 1.154 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.166, allocations: 8.031 kB / 1.154 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/1.168, allocations: 322 kB / 1.154 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/1.17, allocations: 0.9061 MB / 1.155 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/1.17, allocations: 78 kB / 1.155 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/1.17, allocations: 104 kB / 1.155 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/1.172, allocations: 1.167 MB / 1.156 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/1.172, allocations: 7.938 kB / 1.156 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.172, allocations: 44 kB / 1.156 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/1.172, allocations: 34 kB / 1.156 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/1.174, allocations: 0.9369 MB / 1.157 GB, free: 15.9 MB / 0.92 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.006034/1.18, allocations: 4.725 MB / 1.162 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/1.181, allocations: 0.7399 MB / 1.162 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/1.182, allocations: 395 kB / 1.163 GB, free: 9.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00058/1.182, allocations: 332.6 kB / 1.163 GB, free: 9.277 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/1.182, allocations: 43.12 kB / 1.163 GB, free: 9.227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=69): time 2.234e-06/1.182, allocations: 4 kB / 1.163 GB, free: 9.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=69): time 0.001901/1.184, allocations: 1.021 MB / 1.164 GB, free: 8.195 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/1.184, allocations: 59.97 kB / 1.164 GB, free: 8.121 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/1.185, allocations: 0.7908 MB / 1.165 GB, free: 7.305 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/1.185, allocations: 41.7 kB / 1.165 GB, free: 7.258 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/1.186, allocations: 0.5344 MB / 1.166 GB, free: 6.715 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/1.186, allocations: 248.5 kB / 1.166 GB, free: 6.469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/1.186, allocations: 16 kB / 1.166 GB, free: 6.453 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.186, allocations: 334 kB / 1.166 GB, free: 6.121 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/1.187, allocations: 293.8 kB / 1.166 GB, free: 5.836 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/1.187, allocations: 0.5015 MB / 1.167 GB, free: 5.254 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/1.188, allocations: 379 kB / 1.167 GB, free: 4.883 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.188, allocations: 0 / 1.167 GB, free: 4.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001444/1.189, allocations: 0.9135 MB / 1.168 GB, free: 3.961 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/1.189, allocations: 220.5 kB / 1.168 GB, free: 3.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.189, allocations: 7.984 kB / 1.168 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.189, allocations: 12 kB / 1.168 GB, free: 3.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007983/1.19, allocations: 187.7 kB / 1.169 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000395/1.191, allocations: 0.5938 MB / 1.169 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009166/1.192, allocations: 139.1 kB / 1.169 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/1.192, allocations: 39.98 kB / 1.169 GB, free: 2.684 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-06/1.192, allocations: 4 kB / 1.169 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/1.193, allocations: 0.7959 MB / 1.17 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.193, allocations: 4 kB / 1.17 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.193, allocations: 11.95 kB / 1.17 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/1.194, allocations: 168.3 kB / 1.17 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.194, allocations: 15.98 kB / 1.17 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/1.194, allocations: 127.2 kB / 1.17 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/1.194, allocations: 32 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006597/1.195, allocations: 412.7 kB / 1.171 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/1.195, allocations: 98.88 kB / 1.171 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/1.197, allocations: 0.8092 MB / 1.172 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.197, allocations: 8 kB / 1.172 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.197, allocations: 0 / 1.172 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/1.198, allocations: 0.8907 MB / 1.173 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/1.201, allocations: 2.174 MB / 1.175 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.201, allocations: 0 / 1.175 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007/1.202, allocations: 164.1 kB / 1.175 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/1.202, allocations: 4 kB / 1.175 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/1.202, allocations: 16 kB / 1.175 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000314/1.202, allocations: 0.6015 MB / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.202, allocations: 3.953 kB / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/1.204, allocations: 1.3 MB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/1.205, allocations: 259.7 kB / 1.177 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/1.205, allocations: 16 kB / 1.177 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/1.205, allocations: 65.44 kB / 1.177 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/1.205, allocations: 56.39 kB / 1.177 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/1.205, allocations: 27.98 kB / 1.177 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007201/1.206, allocations: 0.5421 MB / 1.178 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.206, allocations: 0 / 1.178 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001597/1.208, allocations: 0.557 MB / 1.178 GB, free: 9.258 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006166/1.208, allocations: 251.7 kB / 1.179 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002249/1.211, allocations: 1.181 MB / 1.18 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.211, allocations: 4 kB / 1.18 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005738/1.211, allocations: 370.9 kB / 1.18 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/1.213, allocations: 483.3 kB / 1.181 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/1.218, allocations: 2.86 MB / 1.183 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/1.218, allocations: 1.186 MB / 1.184 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/1.219, allocations: 91.42 kB / 1.185 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of SimCode: time 8.32e-07/1.219, allocations: 0 / 1.185 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of Templates: time 0.0338/1.253, allocations: 21.32 MB / 1.205 GB, free: 13.6 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFractionCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFractionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFractionCalcHelperMain.o] Error 1