Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008202/0.0008205, allocations: 97.36 kB / 16.33 MB, free: 6.129 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.0008275/0.0008276, allocations: 183.9 kB / 17.22 MB, free: 5.973 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.549/1.549, allocations: 223.2 MB / 241.2 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7255/0.7255, allocations: 114.3 MB / 406.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 8 kB / 494.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1981, allocations: 77.27 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6669/0.8651, allocations: 176.3 MB / 0.7305 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009338/0.8745, allocations: 4.875 MB / 0.7353 GB, free: 4.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.8763, allocations: 39.69 kB / 0.7353 GB, free: 4.441 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.8782, allocations: 0.6296 MB / 0.7359 GB, free: 3.809 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006085/0.8843, allocations: 1.886 MB / 0.7377 GB, free: 1.914 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.8873, allocations: 0.9074 MB / 0.7386 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005467/0.8928, allocations: 3.011 MB / 0.7416 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.8947, allocations: 0.7374 MB / 0.7423 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/0.898, allocations: 0.9765 MB / 0.7433 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.8999, allocations: 0.9146 MB / 0.7441 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.9001, allocations: 47.94 kB / 0.7442 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003451/0.9036, allocations: 0.9353 MB / 0.7451 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005677/0.9042, allocations: 402.7 kB / 0.7455 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006114/0.9048, allocations: 265 kB / 0.7457 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.9073, allocations: 1.337 MB / 0.747 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.9074, allocations: 0 / 0.747 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.727e-06/0.9074, allocations: 0 / 0.747 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.9074, allocations: 0 / 0.747 GB, free: 8.363 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004814/0.9122, allocations: 1.697 MB / 0.7487 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.9123, allocations: 12.03 kB / 0.7487 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003593/0.9159, allocations: 0.7061 MB / 0.7494 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.9174, allocations: 0.8366 MB / 0.7502 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.9175, allocations: 66 kB / 0.7503 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.9176, allocations: 95.97 kB / 0.7504 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/0.9205, allocations: 1.47 MB / 0.7518 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.9206, allocations: 8 kB / 0.7518 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.9207, allocations: 32 kB / 0.7518 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-05/0.9207, allocations: 53.92 kB / 0.7519 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003696/0.9244, allocations: 1.534 MB / 0.7534 GB, free: 1.668 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.007913/0.9324, allocations: 5.514 MB / 0.7588 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/0.9358, allocations: 1.314 MB / 0.7601 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.9374, allocations: 0.6667 MB / 0.7607 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009029/0.9383, allocations: 0.5968 MB / 0.7613 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001721/0.94, allocations: 0.7224 MB / 0.762 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.526e-06/0.94, allocations: 0 / 0.762 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005357/0.9454, allocations: 1.909 MB / 0.7639 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.9455, allocations: 64.06 kB / 0.7639 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.9472, allocations: 1.223 MB / 0.7651 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.9473, allocations: 45.7 kB / 0.7652 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004887/0.9478, allocations: 0.5791 MB / 0.7657 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.9481, allocations: 280.1 kB / 0.766 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.9481, allocations: 16 kB / 0.766 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.9483, allocations: 345.9 kB / 0.7663 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.9498, allocations: 0.5445 MB / 0.7669 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.9514, allocations: 0.8252 MB / 0.7677 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.953, allocations: 0.6003 MB / 0.7683 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.953, allocations: 4 kB / 0.7683 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003781/0.9568, allocations: 1.507 MB / 0.7697 GB, free: 360 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.9568, allocations: 11.95 kB / 0.7698 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.9569, allocations: 4 kB / 0.7698 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.9569, allocations: 16 kB / 0.7698 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.9583, allocations: 300.7 kB / 0.7701 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.9583, allocations: 19.94 kB / 0.7701 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.9599, allocations: 222.9 kB / 0.7703 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.96, allocations: 47.97 kB / 0.7703 GB, free: 15.74 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0006232/0.9607, allocations: 343.7 kB / 0.7707 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.9609, allocations: 134.3 kB / 0.7708 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.9646, allocations: 1.436 MB / 0.7722 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.9646, allocations: 8 kB / 0.7722 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.9646, allocations: 0 / 0.7722 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.9646, allocations: 3.984 kB / 0.7722 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/0.9705, allocations: 2.815 MB / 0.775 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.9705, allocations: 4 kB / 0.775 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.9718, allocations: 227.8 kB / 0.7752 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/0.9718, allocations: 8 kB / 0.7752 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.9719, allocations: 31.97 kB / 0.7752 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.9719, allocations: 12 kB / 0.7752 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.9719, allocations: 7.938 kB / 0.7752 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005297/0.9772, allocations: 2.279 MB / 0.7775 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008102/0.9781, allocations: 303.2 kB / 0.7778 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.9782, allocations: 23.98 kB / 0.7778 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.9793, allocations: 139.9 kB / 0.7779 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.9795, allocations: 72.36 kB / 0.778 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.9797, allocations: 31.98 kB / 0.778 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001224/0.9809, allocations: 0.8444 MB / 0.7788 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9809, allocations: 96 / 0.7788 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001198/0.9821, allocations: 319.5 kB / 0.7791 GB, free: 6.527 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001376/0.9835, allocations: 0.5275 MB / 0.7797 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003502/0.987, allocations: 1.298 MB / 0.7809 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.987, allocations: 0 / 0.7809 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.9888, allocations: 0.6482 MB / 0.7816 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.9916, allocations: 0.5659 MB / 0.7821 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.9971, allocations: 3.007 MB / 0.785 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/0.998, allocations: 1.163 MB / 0.7862 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005513/0.9985, allocations: 123.4 kB / 0.7863 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of SimCode: time 2.214e-06/0.9985, allocations: 0 / 0.7863 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of Templates: time 0.03801/1.037, allocations: 20.17 MB / 0.806 GB, free: 11.25 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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 OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.o] Error 1