Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008715, allocations: 102.3 kB / 15.71 MB, free: 460 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.00118/0.00118, allocations: 179.7 kB / 16.58 MB, free: 6.133 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.377/1.377, allocations: 223.3 MB / 240.6 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7742/0.7742, allocations: 132.3 MB / 424.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 8 kB / 0.504 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5155, allocations: 81.57 MB / 0.5837 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2271/0.7427, allocations: 176.3 MB / 0.7559 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009718/0.7525, allocations: 4.893 MB / 0.7606 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.7544, allocations: 39.69 kB / 0.7607 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.7564, allocations: 0.6179 MB / 0.7613 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005957/0.7624, allocations: 1.886 MB / 0.7631 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.7653, allocations: 0.9135 MB / 0.764 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004529/0.7699, allocations: 3.011 MB / 0.767 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.7713, allocations: 0.7256 MB / 0.7677 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.7736, allocations: 0.9843 MB / 0.7686 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.7749, allocations: 0.9223 MB / 0.7695 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.775, allocations: 48 kB / 0.7696 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.7779, allocations: 0.9353 MB / 0.7705 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004656/0.7784, allocations: 402.7 kB / 0.7709 GB, free: 424 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.7788, allocations: 264.9 kB / 0.7711 GB, free: 152 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.7807, allocations: 1.352 MB / 0.7724 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.7807, allocations: 7.844 kB / 0.7724 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7807, allocations: 3.938 kB / 0.7725 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.7807, allocations: 4 kB / 0.7725 GB, free: 14.78 MB / 0.6075 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.004552/0.7853, allocations: 1.685 MB / 0.7741 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.7853, allocations: 8.031 kB / 0.7741 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003888/0.7892, allocations: 0.759 MB / 0.7749 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.7907, allocations: 0.8328 MB / 0.7757 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/0.7908, allocations: 66 kB / 0.7757 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.791, allocations: 91.97 kB / 0.7758 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/0.794, allocations: 1.476 MB / 0.7773 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.794, allocations: 3.938 kB / 0.7773 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.7941, allocations: 35.98 kB / 0.7773 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/0.7942, allocations: 53.97 kB / 0.7773 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/0.7979, allocations: 1.577 MB / 0.7789 GB, free: 8.016 MB / 0.6075 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.006986/0.8049, allocations: 5.034 MB / 0.7838 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.8082, allocations: 1.239 MB / 0.785 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.8099, allocations: 0.6741 MB / 0.7857 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/0.8114, allocations: 0.9527 MB / 0.7866 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001775/0.8132, allocations: 0.7381 MB / 0.7873 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 4.429e-06/0.8132, allocations: 0 / 0.7873 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.005612/0.8188, allocations: 1.983 MB / 0.7893 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.8189, allocations: 60.06 kB / 0.7893 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.8205, allocations: 1.259 MB / 0.7905 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.92e-05/0.8207, allocations: 45.7 kB / 0.7906 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/0.8212, allocations: 0.5677 MB / 0.7911 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.8215, allocations: 284 kB / 0.7914 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.8215, allocations: 20 kB / 0.7914 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8217, allocations: 345.9 kB / 0.7918 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.8231, allocations: 0.5562 MB / 0.7923 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.8248, allocations: 0.8286 MB / 0.7931 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.8263, allocations: 0.6001 MB / 0.7937 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.8263, allocations: 4 kB / 0.7937 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003713/0.83, allocations: 1.538 MB / 0.7952 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.8301, allocations: 12.16 kB / 0.7952 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.8301, allocations: 8 kB / 0.7952 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.8301, allocations: 12 kB / 0.7952 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.8315, allocations: 299.5 kB / 0.7955 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.8315, allocations: 12 kB / 0.7955 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.8329, allocations: 222.7 kB / 0.7957 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.765e-05/0.8331, allocations: 55.91 kB / 0.7958 GB, free: 6.074 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0006086/0.8337, allocations: 337.3 kB / 0.7961 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.8339, allocations: 138.3 kB / 0.7963 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/0.8375, allocations: 1.464 MB / 0.7977 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.8375, allocations: 12.09 kB / 0.7977 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.8375, allocations: 7.938 kB / 0.7977 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.8375, allocations: 11.97 kB / 0.7977 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/0.843, allocations: 2.877 MB / 0.8005 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.843, allocations: 11.92 kB / 0.8005 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.8442, allocations: 232.2 kB / 0.8008 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-05/0.8442, allocations: 8 kB / 0.8008 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.933e-05/0.8443, allocations: 23.98 kB / 0.8008 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.526e-05/0.8444, allocations: 11.98 kB / 0.8008 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.8444, allocations: 7.938 kB / 0.8008 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/0.8495, allocations: 2.33 MB / 0.8031 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006587/0.8502, allocations: 323.1 kB / 0.8034 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/0.8505, allocations: 16 kB / 0.8034 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.8517, allocations: 135.9 kB / 0.8035 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.8519, allocations: 64.38 kB / 0.8036 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.584e-05/0.852, allocations: 39.97 kB / 0.8036 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001409/0.8534, allocations: 0.8645 MB / 0.8045 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8534, allocations: 0 / 0.8045 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001343/0.8547, allocations: 315.7 kB / 0.8048 GB, free: 12.66 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.00143/0.8562, allocations: 0.5283 MB / 0.8053 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003571/0.8598, allocations: 1.323 MB / 0.8066 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.8598, allocations: 256 / 0.8066 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.8615, allocations: 0.6753 MB / 0.8072 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/0.8651, allocations: 0.5837 MB / 0.8078 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/0.8717, allocations: 3.003 MB / 0.8108 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.8727, allocations: 1.171 MB / 0.8119 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/0.8733, allocations: 123.4 kB / 0.812 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of SimCode: time 1.092e-06/0.8733, allocations: 0 / 0.812 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of Templates: time 0.399/1.272, allocations: 20.69 MB / 0.8322 GB, free: 213 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnlyCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnlyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnlyCalcHelperMain.o] Error 1