Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.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.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 87.98 kB / 16.02 MB, free: 80 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.00301/0.003011, allocations: 183.1 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.572/2.572, allocations: 223.2 MB / 240.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003215/0.003215, allocations: 274.9 kB / 292.3 MB, free: 1.836 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.991/1.991, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007922/0.0007923, allocations: 18.41 kB / 0.5993 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3911, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 1.569/1.961, allocations: 169.3 MB / 0.8511 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006519/1.967, allocations: 2.295 MB / 0.8534 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/1.969, allocations: 12.91 kB / 0.8534 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/1.97, allocations: 187.8 kB / 0.8535 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004164/1.974, allocations: 0.8782 MB / 0.8544 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003571/1.978, allocations: 0.7499 MB / 0.8551 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00294/1.98, allocations: 1.337 MB / 0.8564 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006861/1.981, allocations: 287.8 kB / 0.8567 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/1.982, allocations: 409.7 kB / 0.8571 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005547/1.983, allocations: 315.8 kB / 0.8574 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/1.983, allocations: 18.94 kB / 0.8574 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/1.987, allocations: 1.164 MB / 0.8586 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003086/1.987, allocations: 140.9 kB / 0.8587 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004598/1.987, allocations: 242.7 kB / 0.8589 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/1.989, allocations: 0.6276 MB / 0.8595 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.989, allocations: 0 / 0.8595 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.627e-06/1.989, allocations: 0 / 0.8595 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.034e-05/1.989, allocations: 0 / 0.8595 GB, free: 8.375 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001689/1.991, allocations: 0.733 MB / 0.8603 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.619e-05/1.991, allocations: 10.88 kB / 0.8603 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/1.992, allocations: 178 kB / 0.8604 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007335/1.993, allocations: 372.7 kB / 0.8608 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/1.993, allocations: 19.66 kB / 0.8608 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/1.993, allocations: 33.75 kB / 0.8608 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008562/1.994, allocations: 377.1 kB / 0.8612 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1.994, allocations: 3.938 kB / 0.8612 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/1.994, allocations: 11.31 kB / 0.8612 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/1.994, allocations: 22.83 kB / 0.8612 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/1.995, allocations: 268.1 kB / 0.8615 GB, free: 6.906 MB / 0.5762 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.002712/1.998, allocations: 1.671 MB / 0.8631 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/1.998, allocations: 213 kB / 0.8633 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/1.998, allocations: 118.2 kB / 0.8634 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/2, allocations: 0.8859 MB / 0.8643 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/2, allocations: 45.34 kB / 0.8644 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.856e-06/2, allocations: 0 / 0.8644 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001275/2.001, allocations: 370.5 kB / 0.8647 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/2.002, allocations: 58.22 kB / 0.8648 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/2.002, allocations: 416.1 kB / 0.8652 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/2.002, allocations: 32.55 kB / 0.8652 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/2.003, allocations: 218 kB / 0.8654 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/2.003, allocations: 87.02 kB / 0.8655 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/2.003, allocations: 22.59 kB / 0.8655 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0004771/2.003, allocations: 362.4 kB / 0.8659 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/2.004, allocations: 81.42 kB / 0.8659 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/2.004, allocations: 130.7 kB / 0.8661 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/2.005, allocations: 228.1 kB / 0.8663 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/2.005, allocations: 0 / 0.8663 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008268/2.006, allocations: 291.1 kB / 0.8665 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/2.006, allocations: 7.938 kB / 0.8666 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/2.006, allocations: 0 / 0.8666 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/2.006, allocations: 6.938 kB / 0.8666 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/2.006, allocations: 53.22 kB / 0.8666 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/2.006, allocations: 2.688 kB / 0.8666 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/2.006, allocations: 44.42 kB / 0.8667 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/2.006, allocations: 12.97 kB / 0.8667 GB, free: 2.551 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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.0003242/2.007, allocations: 165.5 kB / 0.8668 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.926e-05/2.007, allocations: 45.66 kB / 0.8669 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007855/2.008, allocations: 290.2 kB / 0.8671 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/2.008, allocations: 3.344 kB / 0.8672 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/2.008, allocations: 4 kB / 0.8672 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/2.008, allocations: 3.938 kB / 0.8672 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/2.01, allocations: 0.8162 MB / 0.868 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/2.01, allocations: 6.844 kB / 0.868 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/2.01, allocations: 50.28 kB / 0.868 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/2.01, allocations: 2.906 kB / 0.868 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/2.01, allocations: 6.469 kB / 0.868 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/2.01, allocations: 12.83 kB / 0.868 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/2.01, allocations: 2.938 kB / 0.868 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/2.011, allocations: 0.5213 MB / 0.8685 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/2.012, allocations: 147 kB / 0.8687 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/2.012, allocations: 11.19 kB / 0.8687 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/2.012, allocations: 20.64 kB / 0.8687 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/2.012, allocations: 23.94 kB / 0.8687 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/2.012, allocations: 12.69 kB / 0.8687 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004205/2.012, allocations: 303.9 kB / 0.869 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/2.012, allocations: 0 / 0.869 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006312/2.013, allocations: 117.3 kB / 0.8692 GB, free: 0.7891 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00074/2.014, allocations: 196.8 kB / 0.8693 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006367/2.015, allocations: 219.2 kB / 0.8695 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/2.015, allocations: 3 kB / 0.8695 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/2.015, allocations: 119.9 kB / 0.8697 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/2.016, allocations: 215.7 kB / 0.8699 GB, free: 420 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/2.019, allocations: 1.141 MB / 0.871 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008027/2.02, allocations: 0.829 MB / 0.8718 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/2.02, allocations: 32.09 kB / 0.8718 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of SimCode: time 2.194e-06/2.02, allocations: 0 / 0.8718 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.01745/2.037, allocations: 6.529 MB / 0.8782 GB, free: 10.23 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.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.OrificeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OrificeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OrificeCalcHelperMain.o] Error 1