Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice") translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.000854/0.0008539, allocations: 102.5 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.0009911/0.0009911, allocations: 173.6 kB / 16.58 MB, free: 6.418 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.291/1.291, allocations: 223.2 MB / 240.6 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8584/0.8584, allocations: 135.3 MB / 427 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002888, allocations: 8 kB / 0.5076 GB, free: 5.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 82.32 MB / 0.588 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.41/0.5581, allocations: 158 MB / 0.7423 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003462/0.5616, allocations: 2.168 MB / 0.7444 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.5619, allocations: 11.91 kB / 0.7444 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005572/0.5625, allocations: 160 kB / 0.7445 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.5641, allocations: 0.6806 MB / 0.7452 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.5658, allocations: 0.6102 MB / 0.7458 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.567, allocations: 1.136 MB / 0.7469 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.5674, allocations: 253.5 kB / 0.7471 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005615/0.5679, allocations: 413.7 kB / 0.7475 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.5683, allocations: 314 kB / 0.7478 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.5683, allocations: 18.34 kB / 0.7479 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.5693, allocations: 0.5312 MB / 0.7484 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.5695, allocations: 134.9 kB / 0.7485 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.5696, allocations: 108.2 kB / 0.7486 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.5701, allocations: 0.5587 MB / 0.7492 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5702, allocations: 0 / 0.7492 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5702, allocations: 0 / 0.7492 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.5702, allocations: 2.812 kB / 0.7492 GB, free: 7.031 MB / 0.5606 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.00101/0.5712, allocations: 0.7243 MB / 0.7499 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.5712, allocations: 8.719 kB / 0.7499 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.5723, allocations: 183.9 kB / 0.75 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.5728, allocations: 360.7 kB / 0.7504 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.5728, allocations: 25.09 kB / 0.7504 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.194e-05/0.5729, allocations: 34.36 kB / 0.7504 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.5735, allocations: 370.4 kB / 0.7508 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5735, allocations: 14.22 kB / 0.7508 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.5735, allocations: 15.09 kB / 0.7508 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.5736, allocations: 9.75 kB / 0.7508 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.574, allocations: 262.8 kB / 0.7511 GB, free: 5.594 MB / 0.5606 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.001538/0.5756, allocations: 1.677 MB / 0.7527 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.5759, allocations: 210.6 kB / 0.7529 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.5761, allocations: 128.7 kB / 0.753 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009128/0.5771, allocations: 0.8779 MB / 0.7539 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.5771, allocations: 34.5 kB / 0.7539 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.5771, allocations: 0 / 0.7539 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.0008014/0.5779, allocations: 371.6 kB / 0.7543 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.578, allocations: 55.41 kB / 0.7543 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.5784, allocations: 425.9 kB / 0.7548 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.5784, allocations: 33.64 kB / 0.7548 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.5786, allocations: 208.2 kB / 0.755 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.5786, allocations: 90.73 kB / 0.7551 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.5787, allocations: 4 kB / 0.7551 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5788, allocations: 350.8 kB / 0.7554 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.579, allocations: 87.94 kB / 0.7555 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.5792, allocations: 128.5 kB / 0.7556 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.5794, allocations: 98.92 kB / 0.7557 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5794, allocations: 7.953 kB / 0.7557 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004797/0.5799, allocations: 285 kB / 0.756 GB, free: 444 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5799, allocations: 8 kB / 0.756 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5799, allocations: 0 / 0.756 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.5799, allocations: 0 / 0.756 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.5801, allocations: 63.94 kB / 0.7561 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.5802, allocations: 4 kB / 0.7561 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.5804, allocations: 39.67 kB / 0.7561 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.5804, allocations: 8 kB / 0.7561 GB, free: 320 kB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.5806, allocations: 169.8 kB / 0.7563 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.5806, allocations: 43.48 kB / 0.7563 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005403/0.5812, allocations: 296.7 kB / 0.7566 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.5812, allocations: 4 kB / 0.7566 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5812, allocations: 4 kB / 0.7566 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5812, allocations: 0 / 0.7566 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.5823, allocations: 0.8114 MB / 0.7574 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5823, allocations: 3.938 kB / 0.7574 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.5826, allocations: 51.97 kB / 0.7574 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5826, allocations: 0 / 0.7574 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.5826, allocations: 8 kB / 0.7575 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/0.5826, allocations: 9.062 kB / 0.7575 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5826, allocations: 15.62 kB / 0.7575 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.5833, allocations: 0.5076 MB / 0.758 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.5835, allocations: 144.6 kB / 0.7581 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.5836, allocations: 8 kB / 0.7581 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.5838, allocations: 31.89 kB / 0.7581 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.5839, allocations: 27.86 kB / 0.7582 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.5839, allocations: 10.5 kB / 0.7582 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002834/0.5842, allocations: 299.1 kB / 0.7585 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5842, allocations: 0 / 0.7585 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004157/0.5846, allocations: 123.8 kB / 0.7586 GB, free: 13.63 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 (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.0003689/0.585, allocations: 193.8 kB / 0.7588 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.5854, allocations: 207.8 kB / 0.759 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.5854, allocations: 0 / 0.759 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.5856, allocations: 119.9 kB / 0.7591 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009714/0.5866, allocations: 218.3 kB / 0.7593 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.5881, allocations: 1.126 MB / 0.7604 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.5884, allocations: 0.8236 MB / 0.7612 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/0.5885, allocations: 39.42 kB / 0.7612 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.5885, allocations: 0 / 0.7612 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.00891/0.5975, allocations: 6.531 MB / 0.7676 GB, free: 4.426 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.makefile make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.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 OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.OrificeCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.OrificeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.OrificeCalcHelperMain.o] Error 1