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.008244/0.008244, allocations: 100.8 kB / 15.87 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.001746/0.001746, allocations: 195.6 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.612/1.612, allocations: 222.9 MB / 240.4 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002253/0.002253, allocations: 274.8 kB / 290.9 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9962/0.9962, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 99.12 kB / 0.5951 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2465, allocations: 86.99 MB / 0.6801 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.8037/1.05, allocations: 171.5 MB / 0.8476 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004665/1.055, allocations: 2.324 MB / 0.8499 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/1.056, allocations: 14.75 kB / 0.8499 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008577/1.057, allocations: 179.7 kB / 0.8501 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002693/1.059, allocations: 0.8806 MB / 0.8509 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/1.062, allocations: 0.7512 MB / 0.8517 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001741/1.064, allocations: 1.346 MB / 0.853 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004776/1.064, allocations: 292.3 kB / 0.8532 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007347/1.065, allocations: 409.2 kB / 0.8536 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/1.065, allocations: 333.5 kB / 0.854 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/1.065, allocations: 25 kB / 0.854 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/1.068, allocations: 1.165 MB / 0.8551 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/1.068, allocations: 143.9 kB / 0.8553 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002849/1.068, allocations: 220.8 kB / 0.8555 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009149/1.069, allocations: 0.628 MB / 0.8561 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.069, allocations: 0 / 0.8561 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.61e-07/1.069, allocations: 0 / 0.8561 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.465e-06/1.069, allocations: 0 / 0.8561 GB, free: 9.883 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.001421/1.071, allocations: 0.8063 MB / 0.8569 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.071, allocations: 9.594 kB / 0.8569 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/1.072, allocations: 180.2 kB / 0.857 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/1.073, allocations: 370 kB / 0.8574 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/1.073, allocations: 29.27 kB / 0.8574 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/1.073, allocations: 34.61 kB / 0.8575 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/1.073, allocations: 365.8 kB / 0.8578 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/1.073, allocations: 2 kB / 0.8578 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/1.073, allocations: 14.66 kB / 0.8578 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/1.073, allocations: 10.19 kB / 0.8578 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/1.074, allocations: 265 kB / 0.8581 GB, free: 8.371 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.001928/1.076, allocations: 1.672 MB / 0.8597 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/1.076, allocations: 223.9 kB / 0.8599 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/1.077, allocations: 111.1 kB / 0.86 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/1.078, allocations: 0.87 MB / 0.8609 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/1.078, allocations: 37.34 kB / 0.8609 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.804e-06/1.078, allocations: 0 / 0.8609 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009113/1.079, allocations: 354.4 kB / 0.8613 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/1.079, allocations: 54.09 kB / 0.8613 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/1.079, allocations: 418.3 kB / 0.8617 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/1.079, allocations: 35.52 kB / 0.8617 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/1.079, allocations: 215.2 kB / 0.862 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-05/1.08, allocations: 86.64 kB / 0.862 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/1.08, allocations: 53.48 kB / 0.8621 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.08, allocations: 352.9 kB / 0.8624 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/1.08, allocations: 86.16 kB / 0.8625 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/1.08, allocations: 120.9 kB / 0.8626 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/1.081, allocations: 211.1 kB / 0.8628 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.081, allocations: 0.9375 kB / 0.8628 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005113/1.081, allocations: 277.8 kB / 0.8631 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.081, allocations: 9.281 kB / 0.8631 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.081, allocations: 0 / 0.8631 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.081, allocations: 2.375 kB / 0.8631 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/1.081, allocations: 55.97 kB / 0.8632 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.082, allocations: 3.562 kB / 0.8632 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/1.082, allocations: 44.17 kB / 0.8632 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/1.082, allocations: 14 kB / 0.8632 GB, free: 4.008 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.0001865/1.082, allocations: 161.5 kB / 0.8634 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/1.082, allocations: 44.2 kB / 0.8634 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/1.083, allocations: 286.5 kB / 0.8637 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.083, allocations: 2.375 kB / 0.8637 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/1.083, allocations: 2.656 kB / 0.8637 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.083, allocations: 7.922 kB / 0.8637 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/1.084, allocations: 0.8021 MB / 0.8645 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.084, allocations: 0 / 0.8645 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/1.084, allocations: 51.03 kB / 0.8645 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.084, allocations: 10.92 kB / 0.8645 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/1.084, allocations: 8.781 kB / 0.8645 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.084, allocations: 2.25 kB / 0.8645 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.084, allocations: 7.031 kB / 0.8646 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/1.085, allocations: 0.5024 MB / 0.865 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/1.085, allocations: 147.9 kB / 0.8652 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/1.085, allocations: 5.062 kB / 0.8652 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/1.086, allocations: 24.69 kB / 0.8652 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/1.086, allocations: 26.11 kB / 0.8652 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/1.086, allocations: 10.83 kB / 0.8652 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003327/1.086, allocations: 302.3 kB / 0.8655 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.086, allocations: 0 / 0.8655 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004833/1.087, allocations: 115.2 kB / 0.8656 GB, free: 2.254 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.0004806/1.087, allocations: 200 kB / 0.8658 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004886/1.088, allocations: 201 kB / 0.866 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.088, allocations: 0 / 0.866 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/1.088, allocations: 117.5 kB / 0.8661 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/1.089, allocations: 216.2 kB / 0.8663 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/1.091, allocations: 1.065 MB / 0.8674 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/1.091, allocations: 0.8224 MB / 0.8682 GB, free: 328 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/1.091, allocations: 38.7 kB / 0.8682 GB, free: 316 kB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/1.091, allocations: 0 / 0.8682 GB, free: 316 kB / 0.5762 GB Notification: Performance of Templates: time 0.0112/1.102, allocations: 6.594 MB / 0.8747 GB, free: 12.96 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