Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008231/0.008231, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001509/0.001509, allocations: 191.5 kB / 16.79 MB, free: 5.809 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.474/1.474, allocations: 222.9 MB / 240.5 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.005834/0.005834, allocations: 279.1 kB / 290.9 MB, free: 2.043 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.392/1.392, allocations: 169.2 MB / 0.4984 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 90.41 kB / 0.5951 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2245, allocations: 86.99 MB / 0.6801 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.9388/1.163, allocations: 292.1 MB / 0.9653 GB, free: 3.621 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03892/1.202, allocations: 23.26 MB / 0.988 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005954/1.208, allocations: 67.62 kB / 0.9881 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006647/1.215, allocations: 1.555 MB / 0.9896 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01967/1.235, allocations: 5.78 MB / 0.9953 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009463/1.244, allocations: 2.624 MB / 0.9978 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0153/1.259, allocations: 10.72 MB / 1.008 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004999/1.265, allocations: 2.522 MB / 1.011 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008815/1.273, allocations: 2.519 MB / 1.013 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007094/1.281, allocations: 2.838 MB / 1.016 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001006/1.282, allocations: 204 kB / 1.016 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01705/1.299, allocations: 6.904 MB / 1.023 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002883/1.302, allocations: 1.336 MB / 1.024 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003723/1.305, allocations: 1.761 MB / 1.026 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0113/1.317, allocations: 5.126 MB / 1.031 GB, free: 220 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.317, allocations: 4 kB / 1.031 GB, free: 216 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.214e-06/1.317, allocations: 0 / 1.031 GB, free: 216 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001378/1.317, allocations: 0 / 1.031 GB, free: 216 kB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.013/1.33, allocations: 4.1 MB / 1.035 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/1.33, allocations: 8.031 kB / 1.035 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006019/1.336, allocations: 0.8468 MB / 1.036 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004437/1.34, allocations: 1.79 MB / 1.038 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/1.341, allocations: 205.4 kB / 1.038 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004859/1.341, allocations: 275.9 kB / 1.038 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007398/1.349, allocations: 3.597 MB / 1.042 GB, free: 5.137 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.177e-05/1.349, allocations: 7.938 kB / 1.042 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/1.349, allocations: 116 kB / 1.042 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/1.349, allocations: 149.3 kB / 1.042 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006909/1.356, allocations: 3.288 MB / 1.045 GB, free: 1.566 MB / 0.7481 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.02702/1.383, allocations: 14.15 MB / 1.059 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4986/1.882, allocations: 2.473 MB / 1.061 GB, free: 292.7 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003457/1.885, allocations: 1.354 MB / 1.063 GB, free: 292.7 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/1.887, allocations: 1.38 MB / 1.064 GB, free: 291.2 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002738/1.889, allocations: 1.224 MB / 1.065 GB, free: 291.1 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 4.488e-06/1.889, allocations: 2.75 kB / 1.065 GB, free: 291.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.007113/1.896, allocations: 3.161 MB / 1.068 GB, free: 290 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/1.897, allocations: 78.72 kB / 1.068 GB, free: 289.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/1.899, allocations: 1.459 MB / 1.07 GB, free: 289.4 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/1.899, allocations: 62.73 kB / 1.07 GB, free: 289.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009827/1.9, allocations: 1.121 MB / 1.071 GB, free: 288.7 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/1.901, allocations: 0.7287 MB / 1.072 GB, free: 288.1 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005603/1.902, allocations: 362.5 kB / 1.072 GB, free: 287.9 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/1.902, allocations: 304.7 kB / 1.072 GB, free: 287.6 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/1.903, allocations: 0.9132 MB / 1.073 GB, free: 287.3 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/1.905, allocations: 1.251 MB / 1.074 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003526/1.908, allocations: 2.32 MB / 1.077 GB, free: 285.5 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.908, allocations: 8.266 kB / 1.077 GB, free: 285.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004859/1.913, allocations: 2.602 MB / 1.079 GB, free: 284.4 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/1.913, allocations: 36.83 kB / 1.079 GB, free: 284.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/1.913, allocations: 7.734 kB / 1.079 GB, free: 284.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.244e-05/1.913, allocations: 20.22 kB / 1.079 GB, free: 284.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/1.915, allocations: 466.1 kB / 1.08 GB, free: 284.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.912e-05/1.915, allocations: 23.64 kB / 1.08 GB, free: 284.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/1.919, allocations: 402.5 kB / 1.08 GB, free: 284.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/1.919, allocations: 77.97 kB / 1.08 GB, free: 284.2 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001732/1.921, allocations: 0.6888 MB / 1.081 GB, free: 283.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006119/1.921, allocations: 219 kB / 1.081 GB, free: 283.7 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005386/1.927, allocations: 2.51 MB / 1.083 GB, free: 282.7 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.537e-05/1.927, allocations: 24.78 kB / 1.083 GB, free: 282.7 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/1.927, allocations: 1.266 kB / 1.083 GB, free: 282.7 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004309/1.931, allocations: 2.333 MB / 1.086 GB, free: 281.6 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/1.944, allocations: 5.61 MB / 1.091 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.944, allocations: 2.406 kB / 1.091 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.947, allocations: 477.9 kB / 1.092 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.243e-05/1.947, allocations: 13.27 kB / 1.092 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/1.947, allocations: 50.5 kB / 1.092 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.82e-05/1.947, allocations: 10.19 kB / 1.092 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.947, allocations: 6.688 kB / 1.092 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006447/1.953, allocations: 3.804 MB / 1.095 GB, free: 277.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/1.955, allocations: 0.5406 MB / 1.096 GB, free: 277.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/1.955, allocations: 47.56 kB / 1.096 GB, free: 277.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/1.957, allocations: 248.1 kB / 1.096 GB, free: 277 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/1.957, allocations: 150.8 kB / 1.096 GB, free: 277 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.957, allocations: 66.8 kB / 1.096 GB, free: 277 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001354/1.959, allocations: 0.9941 MB / 1.097 GB, free: 276.6 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.11e-07/1.959, allocations: 0 / 1.097 GB, free: 276.6 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002917/1.962, allocations: 0.9311 MB / 1.098 GB, free: 276.4 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009262/1.963, allocations: 383.1 kB / 1.099 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003981/1.967, allocations: 2.333 MB / 1.101 GB, free: 275.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.967, allocations: 2.75 kB / 1.101 GB, free: 275.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/1.968, allocations: 1.21 MB / 1.102 GB, free: 274.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005223/1.974, allocations: 1.23 MB / 1.103 GB, free: 274.3 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.987, allocations: 7.201 MB / 1.11 GB, free: 269.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/1.989, allocations: 1.98 MB / 1.112 GB, free: 268 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/1.99, allocations: 211.4 kB / 1.113 GB, free: 267.8 MB / 0.7637 GB Notification: Performance of SimCode: time 1.643e-06/1.991, allocations: 0 / 1.113 GB, free: 267.8 MB / 0.7637 GB Notification: Performance of Templates: time 0.0708/2.061, allocations: 41.65 MB / 1.153 GB, free: 226.5 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.makefile make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.makefile clang++ -std=c++14 NOTFOUND -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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStepCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStepCalcHelperMain.o] Error 1