Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 100.5 kB / 15.71 MB, free: 452 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.001524/0.001524, allocations: 174.9 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.48/1.48, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.79/2.79, allocations: 436.7 MB / 0.7113 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004096, allocations: 15.98 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9861/0.9865, allocations: 153.6 MB / 1.022 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2278/1.214, allocations: 177.6 MB / 1.195 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01806/1.233, allocations: 13.3 MB / 1.208 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/1.234, allocations: 31.81 kB / 1.208 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001591/1.236, allocations: 345.8 kB / 1.208 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00482/1.241, allocations: 1.383 MB / 1.21 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002659/1.243, allocations: 0.6554 MB / 1.21 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005369/1.249, allocations: 3.06 MB / 1.213 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/1.251, allocations: 0.8123 MB / 1.214 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005024/1.256, allocations: 1.198 MB / 1.215 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003413/1.259, allocations: 0.8796 MB / 1.216 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003435/1.259, allocations: 52 kB / 1.216 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/1.263, allocations: 0.5691 MB / 1.217 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009661/1.264, allocations: 446.7 kB / 1.217 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008798/1.265, allocations: 249.1 kB / 1.218 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00312/1.268, allocations: 1.352 MB / 1.219 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/1.268, allocations: 4 kB / 1.219 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.364e-06/1.268, allocations: 0 / 1.219 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.747e-05/1.268, allocations: 0 / 1.219 GB, free: 6.695 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003403/1.272, allocations: 1.246 MB / 1.22 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.272, allocations: 11.98 kB / 1.22 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/1.274, allocations: 258.4 kB / 1.22 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/1.276, allocations: 0.8198 MB / 1.221 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.627e-05/1.276, allocations: 70 kB / 1.221 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/1.277, allocations: 96 kB / 1.221 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/1.28, allocations: 1.161 MB / 1.222 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/1.28, allocations: 3.938 kB / 1.222 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/1.28, allocations: 47.98 kB / 1.222 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.266e-05/1.28, allocations: 41.94 kB / 1.223 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/1.283, allocations: 0.9054 MB / 1.223 GB, free: 1.879 MB / 0.9669 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.01031/1.293, allocations: 5.747 MB / 1.229 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/1.294, allocations: 0.5657 MB / 1.23 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/1.295, allocations: 335.4 kB / 1.23 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/1.296, allocations: 323.7 kB / 1.23 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/1.296, allocations: 42.94 kB / 1.23 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=51): time 2.454e-06/1.296, allocations: 0 / 1.23 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51): time 0.001719/1.297, allocations: 0.8183 MB / 1.231 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/1.298, allocations: 85.55 kB / 1.231 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/1.299, allocations: 0.7509 MB / 1.232 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/1.299, allocations: 37.7 kB / 1.232 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/1.299, allocations: 0.5105 MB / 1.232 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/1.299, allocations: 181.4 kB / 1.233 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/1.3, allocations: 16 kB / 1.233 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.3, allocations: 338 kB / 1.233 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/1.3, allocations: 253.8 kB / 1.233 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/1.301, allocations: 0.5728 MB / 1.234 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/1.301, allocations: 356.5 kB / 1.234 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.301, allocations: 4 kB / 1.234 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001361/1.303, allocations: 0.8616 MB / 1.235 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.303, allocations: 9.719 kB / 1.235 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.303, allocations: 8 kB / 1.235 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/1.303, allocations: 12.75 kB / 1.235 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/1.303, allocations: 159.7 kB / 1.235 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/1.303, allocations: 23.92 kB / 1.235 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009391/1.304, allocations: 151 kB / 1.235 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.094e-05/1.304, allocations: 39.95 kB / 1.235 GB, free: 4.977 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005643/1.305, allocations: 337.5 kB / 1.236 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/1.305, allocations: 86.97 kB / 1.236 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/1.306, allocations: 0.6219 MB / 1.236 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/1.306, allocations: 4 kB / 1.236 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/1.306, allocations: 0 / 1.236 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007879/1.307, allocations: 0.5328 MB / 1.237 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/1.31, allocations: 1.773 MB / 1.239 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.31, allocations: 4.25 kB / 1.239 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005436/1.311, allocations: 111.9 kB / 1.239 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/1.311, allocations: 7.953 kB / 1.239 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/1.311, allocations: 16 kB / 1.239 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/1.311, allocations: 11.97 kB / 1.239 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.311, allocations: 7.938 kB / 1.239 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/1.313, allocations: 1.037 MB / 1.24 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/1.313, allocations: 235.9 kB / 1.24 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.313, allocations: 15.95 kB / 1.24 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/1.314, allocations: 70.12 kB / 1.24 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/1.314, allocations: 31.95 kB / 1.24 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/1.314, allocations: 19.94 kB / 1.24 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008176/1.315, allocations: 0.5107 MB / 1.241 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.315, allocations: 0 / 1.241 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001133/1.316, allocations: 303.3 kB / 1.241 GB, free: 15.09 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005685/1.317, allocations: 218.9 kB / 1.241 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001131/1.318, allocations: 0.612 MB / 1.242 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.318, allocations: 8.25 kB / 1.242 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004136/1.318, allocations: 280 kB / 1.242 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/1.32, allocations: 452.8 kB / 1.242 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/1.325, allocations: 2.481 MB / 1.245 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.326, allocations: 1.126 MB / 1.246 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/1.326, allocations: 91.41 kB / 1.246 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of SimCode: time 1.001e-06/1.326, allocations: 4 kB / 1.246 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of Templates: time 0.6494/1.975, allocations: 14.92 MB / 1.261 GB, free: 226.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.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_latest_Buildings.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o] Error 1